Ludovic Courtès
720ee245da
guix system: Protect against changes to $PATH when activating the system.
...
Partly fixes <http://bugs.gnu.org/18082 >.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/scripts/system.scm (save-environment-excursion): New macro.
(switch-to-system): Wrap 'primitive-load' call in it.
2014-07-23 18:20:56 +02:00
Ludovic Courtès
b6debdaa22
guix system: Fix type error in 'reconfigure'.
...
Partly fixes <http://bugs.gnu.org/18082 >.
Reported by Mark H Weaver <mhw@netris.org>.
* guix/scripts/system.scm (perform-action) <reconfigure>: Pass the
output file name of GRUB.CFG to 'install-grub'.
2014-07-23 18:20:56 +02:00
Andreas Enge
742160428e
gnu: dvdisaster: Upgrade to 0.72.6.
...
* gnu/packages/cdrom.scm (dvdisaster): Upgrade to 0.72.6.
2014-07-23 18:00:19 +02:00
Ludovic Courtès
83a17b6236
install: Add a service to back the store with the target disk.
...
Fixes <http://bugs.gnu.org/18061 >.
Reported by Adam Pribyl <pribyl@lowlevel.cz>.
* gnu/services/dmd.scm (dmd-configuration-file)[config]: Import (guix
build utils).
* gnu/system/install.scm (make-cow-store, cow-store-service): New
procedures.
(installation-services): Use it.
(%backing-directory): New variable.
* doc/guix.texi (System Installation): Add the 'deco start cow-store
/mnt' phase.
2014-07-23 17:47:25 +02:00
Andreas Enge
5383fb5bd4
gnu: pari-gp: Upgrade to 2.7.1.
...
* gnu/packages/algebra.scm (pari-gp): Upgrade to 2.7.1.
2014-07-23 16:46:05 +02:00
Mark H Weaver
705f8b68f1
system: Add missing exports to (gnu system file-systems).
...
* gnu/system/file-systems.scm (%pseudo-terminal-file-system)
(%shared-memory-file-system): Add to export list.
2014-07-23 02:13:34 -04:00
Ludovic Courtès
db17ae5c27
system: Add /dev/shm.
...
* gnu/system/file-systems.scm (%shared-memory-file-system): New
variable.
(%base-file-systems): Add it.
* doc/guix.texi (File Systems): Document it.
2014-07-23 02:02:07 +02:00
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
5c47b06b43
gnu: acl: Update to 2.2.52.
...
* gnu/packages/acl.scm (acl): Update to version 2.2.52.
2014-07-20 06:55:33 -07: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
00e79195a5
gnu: Enable tests for patch.
...
* gnu/packages/base.scm (patch): Enable test and add "ed" as input.
2014-07-20 11:30:54 +02: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