Ludovic Courtès
d0c64188b6
doc: Mention upgrades that trigger a lot of rebuilds.
...
* HACKING (Commit Access): Mention upgrades that trigger a lot rebuilds.
2014-05-11 13:35:31 +02:00
Andreas Enge
af8a56b8a2
doc: Add a section on perl modules in the packaging guidelines.
...
* doc/guix.texi (Perl modules): New section explaining the naming of perl
modules.
2014-05-11 12:27:37 +02:00
Ludovic Courtès
f3bde2ff9f
vm: Fix recently-introduced regression in 'operating-system-services' use.
...
* gnu/system/vm.scm (operating-system-build-gid): Adjust to new return
type of 'operating-system-services' introduced in 217a5b8
.
2014-05-10 23:56:45 +02:00
Ludovic Courtès
023f391c78
services: Add 'file-system-service'.
...
* gnu/services/base.scm (file-system-service): New procedure.
(user-processes-service): Add 'requirements' parameter.
* gnu/services/dmd.scm (dmd-configuration-file): Use (guix build
linux-initrd).
* guix/build/linux-initrd.scm (guix): Export 'check-file-system'.
* gnu/system.scm (file-union): New procedure.
(essential-services): Use it. Add that to the returned list.
2014-05-10 23:33:52 +02:00
Ludovic Courtès
23ed63a12d
services: Use (guix build syscalls) instead of util-linux.
...
* gnu/services/dmd.scm (dmd-configuration-file): Add derivations for
the (guix build syscalls) module, and add that to the load path of
dmd.conf.
* gnu/services/base.scm (root-file-system-service): Rewrite using the
'sync' and 'mount' procedures.
2014-05-10 22:58:22 +02:00
Ludovic Courtès
29fa45f45d
Add (guix build syscalls).
...
* guix/build/syscalls.scm, tests/syscalls.scm: New files.
* Makefile.am (MODULES): Add guix/build/syscalls.scm.
(SCM_TESTS): Add tests/syscalls.scm.
* guix/utils.scm (%libc-errno-pointer, errno): Remove; take from (guix
build syscalls).
2014-05-10 22:55:34 +02:00
Ludovic Courtès
02139eb9b2
linux-initrd: Append to /etc/mtab.
...
* guix/build/linux-initrd.scm (mount-file-system): Open /etc/mtab in
append mode.
2014-05-10 21:47:05 +02:00
Ludovic Courtès
217a5b852e
system: Automatically add essential services.
...
* gnu/services/base.scm (%base-services): Remove calls to
'host-name-service', 'user-processes-service', and
'root-file-system-service'.
* gnu/system.scm (<operating-system>)[operating-system-services]: Rename
to...
[operating-system-user-services]: ... this.
(essential-services, operating-system-services): New procedures.
(operating-system-accounts, operating-system-etc-directory,
operating-system-boot-script, operating-system-derivation): Adjust to
new 'operating-system-services' return type.
2014-05-09 22:59:18 +02:00
Eric Bavier
e5c66f8c7b
gnu: fftw: Factor out OpenMPI dependency.
...
* gnu/packages/algebra.scm (fftw)[inputs,arguments]: Remove OpenMPI.
(fftw-openmpi): New variable.
2014-05-09 09:03:38 -05:00
Ludovic Courtès
2b0d560a3f
gnu: Add hwloc.
...
* gnu/packages/mpi.scm (hwloc): New variable.
(openmpi): Add TODO comment.
2014-05-09 15:49:08 +02:00
Ludovic Courtès
42422cc2f1
gnu: Add pciutils.
...
* gnu/packages/pciutils.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-09 15:48:15 +02:00
Ludovic Courtès
67b660037c
gnu: Add numactl.
...
* gnu/packages/linux.scm (numactl): New variable.
2014-05-09 14:55:12 +02:00
Eric Bavier
85a84cbd83
gnu: openmpi: Fix typo in download uri
...
* gnu/packages/mpi.scm (openmpi)[origin]: Fix typo.
2014-05-08 17:06:46 -05:00
Eric Bavier
0fc54d4b31
gnu: fftw: Add dependency on openmpi.
...
* gnu/packages/algebra.scm (fftw)[inputs,arguments]: Add OpenMPI.
2014-05-08 17:00:27 -05:00
Eric Bavier
2cf287df59
gnu: fftw: Upgrade to 3.3.4
...
* gnu/packages/algebra.scm (fftw): Upgrade to 3.3.4.
2014-05-08 17:00:27 -05:00
Ludovic Courtès
a00dd9fbf4
services: Add service to cleanly unmount the root file system.
...
* gnu/services/base.scm (root-file-system-service,
user-processes-service): New procedures.
(mingetty-service, nscd-service, syslog-service, guix-service): Add
requirement on 'user-processes'.
(%base-services): Add (user-processes-service)
and (root-file-system-service).
* gnu/services/xorg.scm (slim-service): Add requirement on
'user-processes'.
2014-05-08 23:42:15 +02:00
Ludovic Courtès
474b832d5e
linux-initrd: Don't leak /dev/console file descriptors.
...
* guix/build/linux-initrd.scm (switch-root): Simplify /dev/console
code. This fixes a bug where we would leak the IN and OUT file
descriptors.
2014-05-08 23:42:15 +02:00
Ludovic Courtès
ef4ab0a4c5
doc: Mention Kiselyov's work on "staging".
...
* doc/guix.texi (G-Expressions): Mention Oleg's work on "staging" in
footnote.
2014-05-08 23:42:15 +02:00
Ludovic Courtès
03178aec1d
git-download: Disable TLS certificate verification.
...
* guix/build/git.scm (git-fetch): Add 'setenv' call.
2014-05-08 23:42:15 +02:00
Eric Bavier
8ede638c4b
gnu: openmpi: Avoid "open source" verbiage
...
* gnu/packages/mpi.scm (openmpi)[synopsis,description]: Remove mention
of "open source".
2014-05-08 14:48:59 -05:00
Eric Bavier
d8c7eeb996
gnu: Add petsc-openmpi.
...
* gnu/packages/maths.scm (petsc-openmpi): New variable.
(petsc-complex-openmpi): New variable.
2014-05-08 12:42:17 -05:00
Eric Bavier
10b11968c8
gnu: petsc: Clean some more leaked chroot references
...
* gnu/packages/maths.scm (petsc)[arguments]: Scrub some
config-generated header files before build. Only remove files if
they exist.
2014-05-08 12:42:17 -05:00
Eric Bavier
fb0e370928
gnu: Add OpenMPI
...
* gnu/packages/mpi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-08 12:42:17 -05:00
Ludovic Courtès
a29a09fc29
Change 'nix-upstream' submodule URL.
...
* .gitmodules: Use https, not http. Reported by
Pjotr Prins <pjotr.public12@thebird.nl>.
2014-05-08 18:38:03 +02:00
Ludovic Courtès
b1995341ce
linux-initrd: Update /etc/mtab.
...
* guix/build/linux-initrd.scm (mount-root-file-system): Populate
/root/etc/mtab.
(mount-file-system): Update ROOT/etc/mtab.
2014-05-08 00:22:26 +02:00
Ludovic Courtès
538cc2e016
Remove now unneeded (guix build gnome) module.
...
* guix/build/gnome.scm: Remove.
* Makefile.am (MODULES): Update accordingly.
2014-05-07 14:32:36 +02:00
Ludovic Courtès
ce2df078d7
gnu: Make $XDG_DATA_DIRS a search path variable for GLib.
...
* gnu/packages/glib.scm (glib): Add 'native-search-paths' and
'search-paths' fields.
* gnu/packages/gnome.scm (libpeas): Remove 'arguments' field.
(librsvg)[arguments]: Remove #:modules and #:imported-modules.
Remove settings of INTROSPECTION_SCANNER_ARGS and
INTROSPECTION_COMPILER_ARGS in makefiles.
* gnu/packages/gtk.scm (gtk+): Likewise.
2014-05-06 23:10:11 +02:00
Ludovic Courtès
141aed8087
gnu: gobject-introspection is usually meant to be a native input.
...
* gnu/packages/gtk.scm (atk, pango, gdk-pixbuf, gtk+): Move
gobject-introspection to 'native-inputs' since it's only used at build
time.
* gnu/packages/gnome.scm (libpeas): Move pkg-config,
gobject-introspection, and intltool to 'native-inputs'.
2014-05-06 22:47:21 +02:00
Ludovic Courtès
63016e7cd0
gnu: Add librsvg.
...
* gnu/packages/gnome.scm (librsvg): New variable.
2014-05-06 22:29:55 +02:00
Ludovic Courtès
26a728eb09
linux-initrd: Delete files from the initrd ramfs when switching roots.
...
* guix/build/linux-initrd.scm (switch-root): Delete file from the old
root. Chdir to / after 'chroot' call. Re-open file descriptors 0, 1,
and 2.
(boot-system): Move 'loading' message after the 'switch-root' call.
* gnu/system.scm (operating-system-boot-script): Add loop that closes
file descriptor before calling 'execl'.
2014-05-06 18:18:22 +02:00
Ludovic Courtès
94e3029a83
gnu: pius: Use Python 2.
...
* gnu/packages/gnupg.scm (pius): Use Python 2.
2014-05-06 16:48:58 +02:00
Ludovic Courtès
78214b4b89
gnu: make-bootstrap: Add missing export.
...
* gnu/packages/make-bootstrap.scm: Export '%guile-static-stripped'. The
problem was hidden because of <http://bugs.gnu.org/17418 >.
2014-05-06 15:01:39 +02:00
Ludovic Courtès
f57d263929
gnu: e2fsprogs: Install the libext2fs Info manual.
...
* gnu/packages/linux.scm (e2fsprogs)[native-inputs]: Add TEXINFO.
2014-05-06 14:26:49 +02:00
Ludovic Courtès
0997771ac1
gnu: e2fsprogs: Use 'static-package' for the statically-linked variant.
...
* gnu/packages/linux.scm (e2fsprogs/static): Remove.
(e2fsck/static): Use (static-package e2fsprogs) instead.
2014-05-06 14:12:41 +02:00
Ludovic Courtès
fd42e6b803
gnu: gdb: Upgrade to 7.7.1.
...
* gnu/packages/gdb.scm (gdb): Upgrade to 7.7.1.
2014-05-06 14:06:41 +02:00
Ludovic Courtès
03f4500118
gnu: gdb: Add dependency on libxml2.
...
* gnu/packages/gdb.scm (gdb)[inputs]: Add LIBXML2.
2014-05-06 14:06:16 +02:00
Ludovic Courtès
2517859411
gnu: Add libgsf.
...
* gnu/packages/gnome.scm (libgsf): New variable.
2014-05-06 00:26:10 +02:00
Ludovic Courtès
1dd26275a3
gnu: Add libcroco.
...
* gnu/packages/gnome.scm (libcroco): New variable.
2014-05-06 00:20:46 +02:00
Ludovic Courtès
6f194a1e77
gnu: pybugz: Add fixlet patches.
...
* gnu/packages/python.scm (python2-pybugz)[source]: Add 'patches'
field.
* gnu/packages/patches/pybugz-encode-error.patch,
gnu/packages/patches/pybugz-stty.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
2014-05-05 17:12:55 +02:00
Ludovic Courtès
515eba4543
gnu-maintenance: Add missing type check.
...
* guix/gnu-maintenance.scm (gnu-package?): Only call 'mirror-type' when
URL is a string.
2014-05-05 09:00:00 +02:00
Ludovic Courtès
1d4628329d
linux-initrd: Improve root file system switching.
...
* guix/build/linux-initrd.scm (move-essential-file-systems,
switch-root): New procedures.
(MS_MOVE): New variable.
(boot-system): Remove 'mount-essential-file-systems' call for ROOT.
Use 'switch-root' instead of chdir + chroot.
2014-05-04 22:24:47 +02:00
Ludovic Courtès
2d49f84522
services: networking: Fix typo in static networking service.
...
* gnu/services/networking.scm (static-networking-service): Use
$inetutils/bin/ifconfig, not $inetutils/sbin/ifconfig.
2014-05-04 21:09:29 +02:00
Ludovic Courtès
0e2672aee3
gnu: Add missing import in (gnu packages maths).
...
* gnu/packages/maths.scm: Use (guix utils), which was needed since
b9100e2f
.
2014-05-04 11:15:30 +02:00
Ludovic Courtès
3c05b4bc25
linux-initrd: Check the root and other early file systems.
...
* gnu/system.scm (operating-system-derivation)[boot-file-systems]: Keep "/".
* gnu/system/linux-initrd.scm (file-system->spec): Keep the 'check?'
flag.
(qemu-initrd)[helper-packages]: New variable. Pass it as #:to-copy.
<gexp>: Add 'set-path-environment-variable' call. Remove #:unionfs
argument for 'boot-system'.
* gnu/system/vm.scm (%linux-vm-file-systems): Add 'check?' field/
(virtualized-operating-system): Likewise for the "9p" file system.
* guix/build/linux-initrd.scm (mount-root-file-system): Change #:unionfs
default. Call 'check-file-system' before mounting ROOT, when
VOLATILE-ROOT? is false.
(check-file-system): New procedure.
(mount-file-system): Honor 'check?' element in list; add
'check-file-system' call.
(boot-system): Remove #:root-fs-type and #:unionfs parameters.
[root-mount-point?, root-fs-type]: New variables.
Call 'mount-file-system' on all MOUNTS but "/".
2014-05-04 00:30:39 +02:00
Ludovic Courtès
ad896f23a5
activation: Fix deletion of setuid programs.
...
* guix/build/activation.scm (activate-setuid-programs): When
%SETUID-DIRECTORY exists, pass the right file names to 'delete-file'.
2014-05-04 00:18:46 +02:00
Ludovic Courtès
e102f94097
gnu: Add statically-linked versions of e2fsprogs and the fsck.* commands.
...
* gnu/packages/linux.scm (e2fsprogs/static, e2fsck/static): New
variables.
2014-05-03 16:37:04 +02:00
Ludovic Courtès
66f23d6621
vm: Provide a root partition for the freestanding VM image.
...
Fixes a regression introduced in 83bcd0b
.
* gnu/system/vm.scm (system-qemu-image): Override the 'file-systems'
field of OS. Add #:file-system-type parameter and honor it.
2014-05-03 12:46:09 +02:00
Ludovic Courtès
03ddfaf5fb
vm: Make root file system type a parameter, and default to ext4.
...
* gnu/system/vm.scm (qemu-image): Add #:file-system-type parameter.
Pass it to 'initialize-hard-disk'.
* guix/build/linux-initrd.scm (mount-root-file-system): Always honor
TYPE.
(boot-system): Change #:root-fs-type to default to "ext4". Update
docstring.
* guix/build/vm.scm (initialize-hard-disk): Remove #:mkfs parameter; add
#:file-system-type. Adjust 'mkfs' invocation and 'mount' call to
honor #:file-system-type.
2014-05-03 12:16:23 +02:00
Ludovic Courtès
e20fd1bf80
doc: Minor improvements in "G-Expressions".
...
* doc/guix.texi (G-Expressions): Show coreutils version number in store
file name. Add xref to "Derivations", in documentation of
'gexp->derivation'. Fix typo.
2014-05-03 12:02:43 +02:00
Ludovic Courtès
83a39ed7db
gnu: Add diffstat.
...
* gnu/packages/version-control.scm (diffstat): New variable.
2014-05-03 00:46:51 +02:00