Ludovic Courtès
2c071ce96e
system: Recognize more file system flags.
...
* guix/build/linux-initrd.scm (MS_NOSUID, MS_NODEV, MS_NOEXEC): New
variables.
(mount-flags->bit-mask): New procedure.
(mount-file-system)[flags->bit-mask]: Remove.
Use 'mount-flags->bit-mask' instead.
In /etc/mtab, use the empty string when OPTIONS is false.
* gnu/services/base.scm (file-system-service): Add #:flags parameter and
honor it.
* gnu/system.scm (other-file-system-services): Pass FLAGS to
'file-system-service'.
2014-07-23 02:02:07 +02:00
Ludovic Courtès
a85b83d227
doc: Merge the type, variable, and function indices.
...
* doc/guix.texi (Function Index): Rename to...
(Programming Index): ... this. Merge the type, variable, and function
indices.
2014-07-23 02:02:07 +02:00
Ludovic Courtès
7f239fd33f
system: Add 'file-system' decl. for /dev/pts, and use the right options.
...
Fixes <http://bugs.gnu.org/18081 >.
* gnu/system/file-systems.scm (%devtmpfs-file-system): Add
'needed-for-boot?' field.
(%tty-gid, %pseudo-terminal-file-system): New variables.
(%base-file-systems): Add %PSEUDO-TERMINAL-FILE-SYSTEM.
* gnu/services/base.scm (udev-service): Remove dependency on
'file-system-/dev'.
* gnu/system/shadow.scm (%base-groups): Add 'id' field for group 'tty'.
* guix/build/linux-initrd.scm (boot-system): Remove 'mount' call for
/dev/pts.
* doc/guix.texi (File Systems): Add %pseudo-terminal-file-system.
2014-07-23 02:02:07 +02:00
Ludovic Courtès
4e469051a7
system: Add 'create-mount-point?' file system option.
...
* gnu/system/file-systems.scm (<file-system>)[create-mount-point?]: New
field.
* gnu/services/base.scm (file-system-service): Add #:create-mount-point?
parameter and honor it.
* gnu/system.scm (other-file-system-services): Update
'file-system-service' call accordingly.
* doc/guix.texi (File Systems): Document it.
2014-07-23 02:02:06 +02:00
Andreas Enge
5ac12a4f77
Require only lower gettext version.
...
* configure.ac: Change back to requiring gettext at least 0.18.1, partially
reverting commit ee76417
.
2014-07-22 21:35:07 +02:00
Ludovic Courtès
30d3e2e8db
Thank Adam.
2014-07-22 16:59:17 +02:00
Ludovic Courtès
a69576ea85
system: Add '%devtmpfs-file-system' for udev, and '%base-file-systems'.
...
Suggested by Adam Pribyl <pribyl@lowlevel.cz>.
* gnu/services/base.scm (udev-service)[requirement]: Add
'file-system-/dev'.
* gnu/system/file-systems.scm (%devtmpfs-file-system,
%base-file-systems): New variables.
* gnu/system/install.scm (installation-services)[file-systems]: Use
%base-file-systems.
* build-aux/hydra/demo-os.scm (file-systems): Likewise.
* doc/guix.texi (System Installation): Show %BASE-FILE-SYSTEMS in the
example.
(Using the Configuration System): Likewise.
(File Systems): Document %base-file-systems, %devtmpfs-file-system,
%binary-format-file-system, and %fuse-control-file-system.
2014-07-22 16:59:10 +02:00
Ludovic Courtès
7cb9666dd0
doc: Fix typo.
...
* doc/guix.texi (System Installation): s/are/is/.
2014-07-22 15:23:14 +02:00
Ludovic Courtès
bce7526f9a
Add comments about global memoization.
...
* guix/build-system/gnu.scm (standard-inputs): Add comment about
misplaced memoization.
* guix/packages.scm (cache): Likewise.
2014-07-21 23:18:21 +02:00
Ludovic Courtès
1b09031f78
services: Allow 'check-file-system' to work for non-boot-time file systems.
...
* gnu/services/base.scm (file-system-service)[start]: Set $PATH so that
fsck.* can be found. Reported by "DusXMT".
2014-07-21 23:18:21 +02:00
Ludovic Courtès
02dd2a9cb6
Update 'NEWS'.
2014-07-21 23:18:21 +02:00
Cyril Roelandt
2aa6efb0b9
guix package: add a "show" option.
...
* doc/guix.texi: Update the documentation.
* guix/scripts/package.scm: Add a "show" option.
* tests/guix-package.sh: Add a test for the "show" option.
2014-07-21 22:18:03 +02:00
Cyril Roelandt
9c0fc27968
ui: add the "dependencies" field to package->recutils:
...
* guix/ui.scm (package->recutils): Print the dependencies of the package.
2014-07-21 22:17:59 +02:00
Ludovic Courtès
a4f51df98a
nls: Add Hungarian translation.
2014-07-20 22:39:02 +02:00
Ludovic Courtès
58f485cc80
build: Fix typo that would lead to hitting the socket name length limit.
...
* tests/guix-register.sh: Remove redundant $new_store in $NIX_STATE_DIR,
introduced in 689142cd
("guix-register: Add '--state-directory'
parameter.") Reported by Eric Bavier <ericbavier@gmail.com> and
Alen Skondro <askondro@gmail.com>.
2014-07-20 22:39:02 +02:00
Ludovic Courtès
7779ab611d
doc: Show output of 'guix refresh --list-dependent' example.
...
* doc/guix.texi (Invoking guix refresh): Show example output of the
command.
2014-07-20 22:39:02 +02:00
Ludovic Courtès
65ea711189
guix refresh: Use (ice-9 format).
...
* guix/scripts/refresh.scm: Use (ice-9 format).
2014-07-20 22:39:02 +02:00
Ludovic Courtès
8334cf5b5c
guix system: Factorize 'copy-closure'.
...
* guix/scripts/system.scm (copy-closure): Rename to...
(copy-item): ... this.
(copy-closure): New procedure.
(install): Use it, and remove redundant code.
2014-07-20 22:39:02 +02:00
Jason Self
fcbf703efa
gnu: ffmpeg: Remove --disable-vis.
...
* gnu/packages/video.scm (ffmpeg): Remove --disable-vis.
2014-07-20 13:37:02 -07:00
Jason Self
7e81a45513
gnu: wpa-supplicant: Update to 2.2.
...
* gnu/packages/admin.scm (wpa-supplicant): Update to version 2.2.
2014-07-20 11:59:09 -07:00
Jason Self
a915ab6a6b
gnu: sudo: Update to 1.8.10p3.
...
* gnu/packages/admin.scm (sudo): Update to version 1.8.10p3.
2014-07-20 11:56:59 -07:00
Eric Bavier
7d193ec348
guix: refresh: Add --list-dependent option.
...
* guix/packages.scm (package-direct-inputs): New procedure.
* gnu/packages.scm (vhash-refq, package-direct-dependents)
(package-transitive-dependents, package-covering-dependents): New procedures.
* guix/scripts/refresh.scm (%options, show-help, guix-refresh): Add
--list-dependent option.
* doc/guix.texi (Invoking guix refresh): Document '--list-dependent' option.
2014-07-20 11:36:09 -05:00
Eric Bavier
516e3b6f7a
guix: utils: Add fold-tree and fold-tree-leaves.
...
* guix/utils.scm (fold-tree, fold-tree-leaves): New functions.
* tests/utils.scm: Add tests for them.
2014-07-20 11:36:09 -05:00
Jason Self
da891830da
gnu: htop: Update to 1.0.3.
...
* gnu/packages/admin.scm (htop): Update to version 1.0.3.
2014-07-20 06:48:58 -07:00
Jason Self
180d7ac163
gnu: dfc: Update to 3.0.4.
...
* gnu/packages/admin.scm (dfc): Update to version 3.0.4.
2014-07-20 06:47:14 -07:00
John Darrington
0a643dc6f4
gnu: Enable swig tests.
...
* gnu/packages/swig.scm (swig): Add boost as input and enable tests.
2014-07-20 10:12:16 +02:00
Jason Self
428a62f257
gnu: linux-libre: Update to 3.15.6.
...
* gnu/packages/linux.scm (linux-libre): Update to version 3.15.6.
2014-07-19 07:14:09 -07:00
David Thompson
ebc28a7d13
install: Add wireless-tools package.
...
* gnu/system/install.scm (installation-os): Add wireless-tools to packages.
2014-07-19 09:42:43 -04:00
David Thompson
c299dffcc4
linux-initrd: Add AHCI modules.
...
* gnu/system/linux-initrd (linux-modules): Add them.
2014-07-19 08:41:43 -04:00
David Thompson
000f7559a7
gnu: Add wireless-tools.
...
* gnu/packages/linux.scm (wireless-tools): New variable.
2014-07-19 08:40:22 -04:00
Ludovic Courtès
66c2703f09
install: Set the store's permission to #o1775.
...
Fixes <http://bugs.gnu.org/18053 >.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/build/install.scm (directives): Add mode #o1775 for STORE.
2014-07-19 14:26:19 +02:00
Eric Bavier
501aa54f7d
gnu: Add datamash.
...
* gnu/packages/datamash.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-07-18 14:40:15 -05:00
Ludovic Courtès
7a5c329b92
Thank Marek.
2014-07-18 20:40:51 +02:00
Ludovic Courtès
a52127c052
guix system: init: Always use /var/guix as the target state directory.
...
Fixes <http://bugs.gnu.org/18049 >.
Reported by Marek Benc <merkur32@gmail.com>.
* guix/scripts/system.scm (copy-closure): Pass #:state-directory to
'register-path'.
2014-07-18 20:40:51 +02:00
Ludovic Courtès
689142cd75
guix-register: Add '--state-directory' parameter.
...
* nix/guix-register/guix-register.cc (GUIX_OPT_STATE_DIRECTORY): New
macro.
(parse_opt): Honor it.
* tests/guix-register.sh: Add test with '--state-directory'.
* guix/store.scm (register-path): Add #:state-directory parameter.
2014-07-18 20:40:51 +02:00
Mark H Weaver
1c00f83650
Fix typos in manual.
...
* doc/guix.texi (Using the Configuration System): 'gid' -> 'group'
in user-account example.
(Initial RAM Disk): 'base-init' -> 'base-initrd'.
2014-07-18 10:41:47 -04:00
John Darrington
0e534e74aa
gnu: Add Aegis.
...
* gnu/packages/version-control.scm (aegis): New variable.
* gnu/packages/patches/aegis-constness-error.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir1.patch: New file.
* gnu/packages/patches/aegis-perl-tempdir2.patch: New file.
* gnu/packages/patches/aegis-test-fixup-1.patch: New file.
* gnu/packages/patches/aegis-test-fixup-2.patch: New file.
2014-07-18 06:45:33 +02:00
John Darrington
a4dc3bdb15
gnu: whitespace change only
...
* gnu/packages/version-control.scm: Remove blank line
2014-07-18 06:45:33 +02:00
John Darrington
cdd754e8b6
Update 'AUTHORS'.
...
* AUTHORS: Correct the email address I use for Guix work.
2014-07-18 06:45:33 +02:00
Ludovic Courtès
e5b648e06a
gnu: apr-util: Run 'make check' sequentially.
...
* gnu/packages/apr.scm (apr-util)[arguments]: Add #:parallel-tests?.
2014-07-18 00:52:45 +02:00
Ludovic Courtès
9f9236b766
Merge branch 'gettext-upgrade'
2014-07-17 18:42:28 +02:00
Jason Self
f125f4b72a
gnu: ffmpeg: Update to 2.3.
...
* gnu/packages/video.scm (ffmpeg): Update to version 2.3.
Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-07-17 18:41:48 +02:00
Jason Self
72fe9d0b39
gnu: libogg: Update to 1.3.2.
...
* gnu/packages/xiph.scm (libogg): Update to version 1.3.2.
Signed-off-by: Jason Self <j@jxself.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-07-17 18:39:41 +02:00
Ludovic Courtès
3172ed5a4c
install: Show the "System Installation" node.
...
* gnu/system/install.scm (log-to-info): Go to the new 'System
Installation' node.
2014-07-17 18:37:53 +02:00
Ludovic Courtès
42b9b8f9cb
gnu: guix: Upgrade development snapshot.
...
* gnu/packages/package-management.scm (guix): Upgrade to commit
0ae8c15
.
2014-07-17 18:30:11 +02:00
Ludovic Courtès
0ae8c15aef
doc: Add "Setuid Programs" node.
...
* doc/guix.texi (Setuid Programs): New node.
2014-07-17 18:10:16 +02:00
Ludovic Courtès
fd1b1fa296
doc: Add "Initial RAM Disk" section.
...
* doc/guix.texi (Initial RAM Disk): New node.
* gnu/system/linux-initrd.scm (expression->initrd): Adjust docstring.
2014-07-17 17:49:34 +02:00
Ludovic Courtès
a1906758c3
records: Report unknown field names in inheriting forms.
...
* guix/records.scm (define-record-type*)[record-inheritance]: Check for
unexpected field names.
* tests/records.scm ("define-record-type* with let* behavior"): Return
#t, not *unspecified*.
("define-record-type* & inherit & extra initializers"): New test.
2014-07-17 16:45:45 +02:00
Ludovic Courtès
b1353e7a6b
records: Factorize error-reporting macro.
...
* guix/records.scm (record-error): New macro.
(define-record-type*)[error*]: Remove.
Use 'record-error' instead.
2014-07-17 16:42:19 +02:00
Ludovic Courtès
23e9a68088
records: Add tests for error cases.
...
* tests/records.scm (test-module): New procedure.
("define-record-type* & missing initializers",
"define-record-type* & extra initializers"): New tests.
2014-07-17 16:06:36 +02:00