Ludovic Courtès [Fri, 30 Oct 2015 22:05:52 +0000 (23:05 +0100)]
system: Add 'locale-libcs' field.
* gnu/system/locale.scm (localedef-command)[maybe-version-directory]:
New procedure.
Use it.
(locale-directory): Rename to...
(single-locale-directory): ... this. Check the version of LIBC to
determine whether to create a "X.Y" sub-directory or to make it a
symlink to ".". Add the version number in the derivation name.
(locale-directory): New procedure.
(%default-locale-libcs): New variable.
* gnu/system.scm (<operating-system>)[locale-libcs]: New field.
(operating-system-locale-directory): Pass it to 'locale-directory'.
* doc/guix.texi (operating-system Reference): Document 'locale-libcs'.
(Locales)[Locale Data Compatibility Considerations]: New section.
Ludovic Courtès [Thu, 24 Sep 2015 14:21:45 +0000 (16:21 +0200)]
gnu: glibc: Add version 2.21.
* gnu/packages/base.scm (glibc-2.21): New variable.
Andy Patterson [Thu, 29 Oct 2015 22:59:18 +0000 (18:59 -0400)]
gnu: ffmpeg: Enable gnutls support.
* gnu/package/video.scm (ffmpeg)[inputs]: Add gnutls.
[arguments]: Enable it.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
David Thompson [Mon, 8 Jun 2015 13:04:38 +0000 (09:04 -0400)]
scripts: system: Add 'container' action.
* guix/scripts/system.scm (show-help): Display 'container' action.
(system-derivation-for-action, guix-system): Add 'container' case.
(perform-action): Skip GRUB config generation when building a container.
* doc/guix.texi (Invoking guix system): Document it.
David Thompson [Thu, 29 Oct 2015 04:15:36 +0000 (00:15 -0400)]
system: container: Adjust to changes in gexps.
* gnu/system/linux-container.scm (system-container): 'etc' is no longer
a monadic value, and the result of 'file-union' must be lowered.
Ricardo Wurmus [Thu, 29 Oct 2015 14:43:21 +0000 (15:43 +0100)]
gnu: openblas: Make substitutable on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Make package
substitutable when the system is MIPS.
Ricardo Wurmus [Mon, 20 Jul 2015 13:05:55 +0000 (15:05 +0200)]
gnu: openblas: Set TARGET to SICORTEX on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Add "TARGET=SICORTEX" to
make-flags when building for MIPS.
David Thompson [Fri, 30 Oct 2015 12:40:58 +0000 (08:40 -0400)]
gnu: xfce4-session: Fix xflock4.
* gnu/packages/patches/xfce4-session-fix-xflock4.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xfce.scm (xfce4-session)[source]: Add patch.
Ricardo Wurmus [Thu, 29 Oct 2015 16:12:17 +0000 (17:12 +0100)]
gnu: Add pcre2.
* gnu/packages/pcre.scm (pcre2): New variable.
Efraim Flashner [Fri, 30 Oct 2015 11:12:44 +0000 (13:12 +0200)]
gnu: freeipmi: Update to 1.4.11.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.4.11.
Eric Bavier [Thu, 29 Oct 2015 22:26:30 +0000 (17:26 -0500)]
gnu: fish: Add python input.
* gnu/packages/fish.scm (inputs): Add python.
Ludovic Courtès [Thu, 29 Oct 2015 22:10:37 +0000 (23:10 +0100)]
doc: Fix outdated description of the bare-bones example.
Reported by fps on #guix.
* doc/guix.texi (Using the Configuration System): Replace mention of
Emacs with tcpdump.
Ludovic Courtès [Thu, 29 Oct 2015 21:20:57 +0000 (22:20 +0100)]
services: Add 'linux-bare-metal-service-type'.
* gnu/services.scm (modprobe-wrapper): Remove.
(activation-script): Do not use it. Remove calls to
'activate-modprobe' and 'activate-ptrace-attach' in gexp.
(%modprobe-wrapper, %linux-kernel-activation,
linux-bare-metal-service-type, %linux-bare-metal-service): New
variables.
* gnu/system.scm (essential-services): Add %LINUX-BARE-METAL-SERVICE to
the list, unless CONTAINER? is true.
Andy Patterson [Thu, 29 Oct 2015 02:42:42 +0000 (22:42 -0400)]
gnu: ffmpeg: Move flags into their own argument.
* gnu/packages/video.scm (ffmpeg)[arguments]: Move the configurable
configure flag literals into the configure-flags argument. Call
configure with these flags from the configure phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
David Thompson [Mon, 26 Oct 2015 02:33:33 +0000 (22:33 -0400)]
scripts: environment: Allow mixing regular and ad-hoc packages.
This patch changes the --ad-hoc flag to be positional. That is, the
packages that appear before --ad-hoc are interpreted as packages whose
inputs should be in the environment; the packages that appear after are
interpreted as packages to be directly added to the environment.
* guix/scripts/environment.scm (tag-package-arg, compact): New
procedures.
(%options): Tweak the handlers for --load and --expression options.
(options/resolve-packages): Preserve package mode tag.
(parse-args): Tweak argument handler to use package tagging procedure.
(guix-environment): Apply ad-hoc behavior on a per package basis.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Document new behavior of
--ad-hoc.
Ludovic Courtès [Thu, 29 Oct 2015 18:00:14 +0000 (19:00 +0100)]
services: Add screen-locker service.
* gnu/system/linux.scm (base-pam-services): Remove "xlock" and
"xscreensaver".
* gnu/services/xorg.scm (<screen-locker>): New record type.
(screen-locker-pam-services, screen-locker-setuid-programs,
screen-locker-service): New procedures.
(screen-locker-service-type): New variable.
* gnu/services/desktop.scm (%desktop-services): Use them.
* doc/guix.texi (X Window): Document 'screen-locker-service'.
(Desktop Services): Mention it.
Ludovic Courtès [Thu, 29 Oct 2015 17:22:19 +0000 (18:22 +0100)]
system: File systems depend on their corresponding device mappings.
Fixes a regression introduced in commit
0adfe95.
* gnu/system.scm (other-file-system-services)[requirements]: Remove.
[add-dependencies]: New procedure.
Use it.
* gnu/system/file-systems.scm (<file-system>)[dependencies]: Update
comment.
* gnu/services/base.scm (mapped-device->dmd-service-name,
dependency->dmd-service-name): New procedures.
(file-system-service-type): Use it.
Ludovic Courtès [Thu, 29 Oct 2015 16:07:08 +0000 (17:07 +0100)]
gnu: Add libchop.
* gnu/packages/backup.scm (libchop): New variable.
Ludovic Courtès [Thu, 29 Oct 2015 15:48:32 +0000 (16:48 +0100)]
gnu: Move gdbm to (gnu packages databases).
* gnu/packages/gdbm.scm: Remove.
* gnu/packages/databases.scm (gdbm): New variable, from gdbm.scm.
* gnu/packages/avahi.scm, gnu/packages/cyrus-sasl.scm,
gnu/packages/guile.scm, gnu/packages/mail.scm,
gnu/packages/man.scm, gnu/packages/pulseaudio.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Adjust accordingly.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove gdbm.scm.
Ludovic Courtès [Thu, 29 Oct 2015 10:18:51 +0000 (11:18 +0100)]
doc: Mention Nix in the intro.
* doc/guix.texi (Introduction): Mention Nix with a xref to
"Acknowledgments".
(Acknowledgments): Add link to nixos.org.
Ludovic Courtès [Thu, 29 Oct 2015 08:58:17 +0000 (09:58 +0100)]
system: grub: Let GRUB choose the best graphics mode.
On PCs, it means that it will typically choose resolutions higher
than 640x480, which is nicer.
* gnu/system/grub.scm (eye-candy)[setup-gfxterm-body]: Leave 'gfxmode'
unset.
Ricardo Wurmus [Thu, 29 Oct 2015 14:41:31 +0000 (15:41 +0100)]
gnu: openblas: Update to 0.2.15.
* gnu/packages/maths.scm (openblas): Update to 0.2.15.
Ricardo Wurmus [Thu, 29 Oct 2015 13:51:23 +0000 (14:51 +0100)]
gnu: icedtea7: Update to 2.6.2.
* gnu/packages/java.scm (icedtea7): Update to 2.6.2.
Paul van der Walt [Thu, 29 Oct 2015 10:08:05 +0000 (11:08 +0100)]
gnu: ghc-glut: Propagate freeglut input.
* gnu/packages/haskell.scm (ghc-glut): Move freeglut to
propagated-inputs.
Efraim Flashner [Wed, 28 Oct 2015 21:55:27 +0000 (23:55 +0200)]
gnu: bluez: Update to 5.35.
* gnu/packages/linux.scm (bluez): Update to 5.35.
Alex Kost [Wed, 28 Oct 2015 21:08:03 +0000 (00:08 +0300)]
gnu: magit-svn: Update to 2.1.1.
* gnu/packages/emacs.scm (magit-svn): Update to 2.1.1.
Alex Kost [Wed, 28 Oct 2015 21:07:20 +0000 (00:07 +0300)]
gnu: magit: Update to 2.3.0.
* gnu/packages/emacs.scm (magit): Update to 2.3.0.
Ludovic Courtès [Wed, 28 Oct 2015 20:36:07 +0000 (21:36 +0100)]
services: Add 'modify-services'.
* gnu/services.scm (%modify-service, modify-services): New macros.
* gnu/services/base.scm (mingetty-service-type, guix-service-type):
Export.
* emacs/guix-devel.el (guix-devel-keywords): Add 'modify-services'.
Ditto in 'guix-devel-scheme-indent' call.
* doc/guix.texi (Using the Configuration System): Give an example of
'modify-services'.
(Service Reference): Document it.
Ludovic Courtès [Wed, 28 Oct 2015 17:15:49 +0000 (18:15 +0100)]
services: 'guix-configuration' has a 'substitute-urls' field.
* gnu/services/base.scm (<guix-configuration>)[substitute-urls]: New
field.
(guix-dmd-service): Honor it.
* doc/guix.texi (Base Services): Document it.
Alex Kost [Tue, 27 Oct 2015 18:13:05 +0000 (21:13 +0300)]
refresh: Support comma-separated updater types.
* guix/scripts/refresh.scm (%options): Handle comma-separated types for
'--type' option.
(guix-refresh): Adjust accordingly.
(show-help): Likewise.
* doc/guix.texi (Invoking guix refresh): Document it.
Ricardo Wurmus [Wed, 28 Oct 2015 13:39:13 +0000 (14:39 +0100)]
gnu: pbtranscript-tofu: Update to 2.2.3.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): Update to 2.2.3.
[source]: Remove bundled Cython sources in a snippet. Replace
".tar.gz" extension in file-name field with "-checkout".
[arguments]: Replace "enter-directory-and-clean-up" phase with
"enter-directory" phase, and add "patch-setuppy" phase.
[inputs]: Add python2-h5py. Move python2-cython ...
[native-inputs]: ... to this field.
Andreas Enge [Wed, 28 Oct 2015 14:56:22 +0000 (15:56 +0100)]
gnu: pari-gp: Add X11 input.
* gnu/packages/algebra.scm (pari-gp)[inputs]: Add libx11, which enables
plotting functions.
Ludovic Courtès [Wed, 28 Oct 2015 14:55:10 +0000 (15:55 +0100)]
tests: Print the mounts visible in the container.
* tests/guix-environment-container.sh: Print the content of
$tmpdir/mounts.
Ludovic Courtès [Wed, 28 Oct 2015 14:53:17 +0000 (15:53 +0100)]
ui: Add 'make-regexp*'.
Fixes <http://bugs.gnu.org/21773>.
Reported by Jan Synáček <jan.synacek@gmail.com>.
* guix/ui.scm (make-regexp*): New procedure.
* guix/scripts/package.scm (options->installable, guix-package): Use it
when processing user-provided regexps.
Ludovic Courtès [Wed, 28 Oct 2015 14:30:31 +0000 (15:30 +0100)]
container: Remove unnecessary CLONE_CHILD_* flags.
* gnu/build/linux-container.scm (namespaces->bit-mask): Remove
CLONE_CHILD_CLEARTID and CLONE_CHILD_SETTID, which are unneeded.
Discussed at <http://bugs.gnu.org/21694>.
Ludovic Courtès [Wed, 28 Oct 2015 14:20:06 +0000 (15:20 +0100)]
store: Use the daemon's substitute URLs by default.
Partly fixes <http://bugs.gnu.org/20217>.
* guix/store.scm (set-build-options): Change #:substitute-urls to
default to #f. Send the 'substitute-urls' pair only if
SUBSTITUTE-URLS is true.
* guix/scripts/build.scm (set-build-options-from-command-line): Do not
default to %DEFAULT-SUBSTITUTE-URLS for #:substitute-urls.
* guix/scripts/size.scm (%default-options): Remove 'substitute-urls'.
David Thompson [Mon, 26 Oct 2015 22:09:28 +0000 (18:09 -0400)]
scripts: build: Add --file option.
* guix/scripts/build.scm (show-help): Add help text for --file option.
(%options): Add --file option.
(options/resolve-packages): Handle 'file' options.
* tests/guix-build.sh: Add tests.
* doc/guix.texi ("invoking guix build"): Add doc.
Ludovic Courtès [Wed, 28 Oct 2015 10:59:42 +0000 (11:59 +0100)]
gnu: python-debian: Avoid @itemize in description.
* gnu/packages/python.scm (python-debian): Use @enumerate instead of
@itemize.
Ludovic Courtès [Wed, 28 Oct 2015 09:11:43 +0000 (10:11 +0100)]
substitute: Honor all the specified server URLs.
* guix/scripts/substitute.scm (lookup-narinfos/diverse): New procedure.
(lookup-narinfo): Use it.
(process-query): Change #:cache-url to #:cache-urls.
[valid?]: Remove 'narinfo?' check, which is no longer necessary.
Use 'lookup-narinfos/diverse' instead of 'lookup-narinfos'.
(process-substitution): Change #:cache-url to #:cache-urls.
(%cache-url): Rename to...
(%cache-urls): ... this. Turn into a list.
(guix-substitute): Remove 'getaddrinfo' test with early exit. Adjust
calls to 'process-query' and 'process-substitution'.
* tests/substitute.scm: Change '%cache-url' to '%cache-urls'.
Ludovic Courtès [Wed, 28 Oct 2015 10:48:27 +0000 (11:48 +0100)]
substitute: 'lookup-narinfos' returns exactly a list of narinfos.
* guix/scripts/substitute.scm (lookup-narinfos): Filter out #f values
from CACHED, such that the end result is exactly a list of narinfos,
not interspersed with #f.
* guix/scripts/challenge.scm (discrepancies): Assume REMOTE is a list of
narinfos.
Ludovic Courtès [Wed, 28 Oct 2015 10:45:27 +0000 (11:45 +0100)]
substitute: 'http-multiple-get' follows 'fold' style.
* guix/scripts/substitute.scm (http-multiple-get): Add 'seed'
parameter. Call PROC in 'fold' style.
(fetch-narinfos)[handle-narinfo-response]: Adjust accordingly.
Update 'http-multiple-get' call accordingly.
Mark H Weaver [Wed, 19 Aug 2015 17:57:30 +0000 (13:57 -0400)]
gnu: grub: Install documentation.
* gnu/packages/grub.scm (grub)[native-inputs]: Add help2man and texinfo.
Mark H Weaver [Sat, 15 Aug 2015 05:22:06 +0000 (01:22 -0400)]
gnu: grub: Use modify-phases and other minor cleanups.
* gnu/packages/grub.scm (grub)[arguments]: Use modify-phases. Return #t from
'patch-stuff' phase. Add 'patch-stuff' phase after 'unpack' instead of
before 'patch-source-shebangs'.
[inputs]: Add comment noting that 'fuse' would be a desirable input.
Mark H Weaver [Sun, 13 Sep 2015 15:00:53 +0000 (11:00 -0400)]
doc: Add texinfo to the requirements when building from git.
* doc/contributing.texi (Building from Git): Add GNU Texinfo to the list of
additional requirements.
Mark H Weaver [Mon, 24 Aug 2015 02:54:59 +0000 (22:54 -0400)]
gnu: linux-libre: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/packages/linux.scm (linux-libre)[install-phase]: Add vmlinuz to the list
of file names to be copied.
Mark H Weaver [Thu, 6 Aug 2015 22:15:51 +0000 (18:15 -0400)]
gnu: linux-libre: Add case for ARCH=mips.
* gnu/packages/linux.scm (linux-libre)[build-phase]: When setting ARCH, add a
case for MIPS.
Mark H Weaver [Sun, 23 Aug 2015 17:47:13 +0000 (13:47 -0400)]
gnu: linux-libre: Add 'supported-systems' field: Intel only for now.
* gnu/packages/linux.scm (linux-libre)[supported-systems]: New field.
Mark H Weaver [Wed, 28 Oct 2015 00:19:01 +0000 (20:19 -0400)]
gnu: linux-libre: Update to 4.2.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.5.
Mark H Weaver [Thu, 27 Aug 2015 22:37:30 +0000 (18:37 -0400)]
linux-initrd: Use pata_acpi, pata_atiixp, and isci modules only on Intel.
* gnu/system/linux-initrd.scm (base-initrd)[linux-modules]: Include
"pata_acpi", "pata_atiixp", and "isci" on Intel systems only.
Mark H Weaver [Sun, 9 Aug 2015 22:45:49 +0000 (18:45 -0400)]
system: grub: Adjust eye-candy to work on non-Intel systems.
* gnu/system/grub.scm (eye-candy): Accept additional 'system' argument. Add
local 'setup-gfxterm-body' variable. Replace the 'load_video' grub function
with 'setup_gfxterm', which includes everything in the 'if loadfont' form on
Intel systems, but is empty on non-Intel.
(grub-configuration-file): Pass 'system' to 'eye-candy.
Mark H Weaver [Wed, 19 Aug 2015 20:30:02 +0000 (16:30 -0400)]
system: grub: On MIPS, the linux image name is vmlinuz, not bzImage.
* gnu/system/grub.scm (grub-configuration-file): Add 'linux-image-name'
internal procedure. Use it from 'entry->gexp'.
Ludovic Courtès [Tue, 27 Oct 2015 20:01:55 +0000 (21:01 +0100)]
gnu: Add Diffoscope.
* gnu/packages/package-management.scm (diffoscope): New variable.
Ludovic Courtès [Tue, 27 Oct 2015 19:53:48 +0000 (20:53 +0100)]
gnu: Add python-chardet.
* gnu/packages/python.scm (python-chardet, python2-chardet): New
variables.
Ludovic Courtès [Tue, 27 Oct 2015 19:43:11 +0000 (20:43 +0100)]
gnu: Add python-debian.
* gnu/packages/python.scm (python-debian, python2-debian): New
variables.
Alex Kost [Thu, 22 Oct 2015 07:51:17 +0000 (10:51 +0300)]
refresh: Add '--list-updaters' option.
* guix/scripts/refresh.scm (list-updaters-and-exit): New procedure.
(%options, show-help): Add '--list-updaters' option.
* doc/guix.texi (Invoking guix refresh): Document it.
Alex Kost [Mon, 26 Oct 2015 18:24:53 +0000 (21:24 +0300)]
upstream: Add 'description' field to 'upstream-updater'.
Suggested by Ludovic Courtès <ludo@gnu.org>.
* guix/upstream.scm (<upstream-updater>): Use 'define-record-type*'.
[description]: New field.
(lookup-updater): Adjust accordingly.
* guix/gnu-maintenance.scm (%gnu-updater): Likewise.
* guix/import/cran.scm (%cran-updater): Likewise.
* guix/import/elpa.scm (%elpa-updater): Likewise.
* po/guix/POTFILES.in: Add guix/scripts/import/cran.scm and
guix/gnu-maintenance.scm.
Alex Kost [Tue, 27 Oct 2015 14:51:03 +0000 (17:51 +0300)]
emacs: Use 'switch-to-generation*'.
This is a followup to commit
06d45f4566469364b4c1fe6d3c71ecf58f5d4838.
* emacs/guix-base.el (guix-switch-to-generation): Replace
'switch-to-generation' with 'switch-to-generation*'.
Alex Kost [Tue, 20 Oct 2015 13:43:49 +0000 (16:43 +0300)]
emacs: Add "Packages" option for 'guix challenge' popup.
* emacs/guix-command.el (guix-command-rest-argument): Add "challenge".
Alex Kost [Tue, 20 Oct 2015 13:42:01 +0000 (16:42 +0300)]
emacs: Add shell completions for 'guix challenge'.
* emacs/guix-pcomplete.el (guix-pcomplete-complete-command-arg): Add
"challenge" to complete package names for it.
Ricardo Wurmus [Thu, 22 Oct 2015 11:02:37 +0000 (13:02 +0200)]
gnu: gcj: Run libjava tests.
* gnu/packages/gcc.scm (gcj)[native-inputs]: Add dejagnu.
[arguments]: Enable tests and set test target to
"check-target-libjava".
Christopher Allan Webber [Mon, 26 Oct 2015 19:04:56 +0000 (14:04 -0500)]
gnu: guile-next: Update to
20151025.
e5bccb6
* gnu/packages/guile.scm (guile-next): Update to
20151025.
e5bccb6.
Ricardo Wurmus [Fri, 23 Oct 2015 12:16:27 +0000 (14:16 +0200)]
gnu: subread: Use SSE optimizations on x86_64 only.
* gnu/packages/bioinformatics.scm (subread)[arguments]: Override CC and
CCFLAGS conditionally dependent on target system.
Ricardo Wurmus [Tue, 27 Oct 2015 10:12:32 +0000 (11:12 +0100)]
gnu: crossmap: Update to 0.2.1.
* gnu/packages/bioinformatics.scm (crossmap): Update to 0.2.1.
Aljosha Papsch [Mon, 26 Oct 2015 21:27:05 +0000 (22:27 +0100)]
gnu: Add yapet.
* gnu/packages/password-utils.scm (yapet): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Cyrill Schenkel [Fri, 23 Oct 2015 14:38:16 +0000 (16:38 +0200)]
gnu: Add xcompmgr.
* gnu/packages/xorg.scm (xcompmgr): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Ludovic Courtès [Mon, 26 Oct 2015 22:01:06 +0000 (23:01 +0100)]
profiles: Add generation manipulation procedures.
* guix/scripts/package.scm (delete-generations): Use
'delete-generation*' instead of 'delete-generation'.
(guix-package)[process-actions]: Use 'roll-back*' instead of
'roll-back' and 'switch-to-generation*' instead of
'switch-to-generation'.
(link-to-empty-profile, switch-to-generation,
switch-to-previous-generation, roll-back, delete-generation): Move
to...
* guix/profiles.scm: ... here. Adjust to not print messages and to
return values that can be used by user interfaces.
* guix/ui.scm (display-generation-change, roll-back*,
switch-to-generation*, delete-generation*): New procedures.
Ludovic Courtès [Mon, 26 Oct 2015 21:17:25 +0000 (22:17 +0100)]
utils: Add 'switch-symlinks', moved from (guix ui).
* guix/ui.scm (switch-symlinks): Move to...
* guix/utils.scm: ... here. New procedure.
* guix/scripts/pull.scm: Use it.
Ludovic Courtès [Mon, 26 Oct 2015 20:24:26 +0000 (21:24 +0100)]
guix system: Add the 'list-generations' command.
* guix/scripts/system.scm (display-system-generation, list-generations):
New procedures.
(process-action): Clarify docstring.
(process-command): New procedure.
(guix-system)[parse-sub-command]: Add 'list-generations'
Call 'process-command' instead of 'process-action'.
* doc/guix.texi (Using the Configuration System): Mention generations,
rollback, and 'list-generations'.
(Invoking guix system): Document 'list-generations'.
Ludovic Courtès [Mon, 26 Oct 2015 20:19:42 +0000 (21:19 +0100)]
guix system: Factorize boot parameter parsing.
* guix/scripts/system.scm (<boot-parameters>): New record type.
(read-boot-parameters): New procedure.
(previous-grub-entries)[system->grub-entry]: Use it.
Ludovic Courtès [Mon, 26 Oct 2015 20:16:20 +0000 (21:16 +0100)]
ui: Add procedures to display a profile generation.
* guix/scripts/package.scm (guix-package)[process-query](list-generations):
Move part of the body to 'delete-generation' and
'display-profile-content'.
* guix/ui.scm (display-generation, display-profile-content): New
procedures.
Ludovic Courtès [Mon, 26 Oct 2015 19:01:45 +0000 (20:01 +0100)]
utils: Add 'readlink*'.
* guix/scripts/package.scm (readlink*): Move to...
* guix/utils.scm (readlink*): ... here. New procedure.
Ludovic Courtès [Mon, 26 Oct 2015 18:50:56 +0000 (19:50 +0100)]
guix system: Extract action processing.
* guix/scripts/system.scm (process-action): New procedure. Extracted
from...
(guix-system): ... here. Use it.
Ludovic Courtès [Mon, 26 Oct 2015 18:03:56 +0000 (19:03 +0100)]
ui: Add 'matching-generations'.
* guix/scripts/package.scm (matching-generations): Move to...
* guix/ui.scm (matching-generations): ... here.
Ludovic Courtès [Mon, 26 Oct 2015 17:44:18 +0000 (18:44 +0100)]
doc: Add a REPL example.
* doc/contributing.texi (Running Guix Before It Is Installed): Add REPL
example.
* doc/emacs.texi (Emacs General info): Add @cindex.
Ludovic Courtès [Mon, 26 Oct 2015 08:58:55 +0000 (09:58 +0100)]
gnu: Add python-file.
* gnu/packages/python.scm (python-file, python2-file): New variables.
Ludovic Courtès [Sun, 25 Oct 2015 23:13:03 +0000 (00:13 +0100)]
gnu: Add RPM.
* gnu/packages/package-management.scm (rpm): New variable.
* gnu/packages/backup.scm (libarchive): Add comment.
Paul van der Walt [Mon, 26 Oct 2015 12:28:20 +0000 (13:28 +0100)]
gnu: racket: Update to 6.2.1.
* gnu/packages/scheme.scm (racket): Update to 6.2.1.
Paul van der Walt [Fri, 23 Oct 2015 17:57:15 +0000 (19:57 +0200)]
gnu: haskell: Remove CONFIG_SHELL patches.
A previous commit to the haskell-build-system made sure that if
necessary, the CONFIG_SHELL environment variable is set. That obviates
the individual patches applied to some packages. Remove them.
* gnu/packages/haskell.scm (ghc-network, ghc-old-time, ghc-sdl-image,
ghc-sdl-mixer, ghc-sdl, ghc-unix-time, ghc-x11)[arguments]: Remove
‘fix-/bin/sh’ phase.
Paul van der Walt [Fri, 23 Oct 2015 17:55:34 +0000 (19:55 +0200)]
gnu: ghc-async: Fix description formatting.
* gnu/packages/haskell.scm (ghc-async): Formatting.
Paul van der Walt [Fri, 23 Oct 2015 17:33:43 +0000 (19:33 +0200)]
build-system/haskell: CONFIG_SHELL env variable.
For Cabal packages with "build-type: Configure", a configure shell
script is run to set up build parameters. These scripts need the
CONFIG_SHELL environment variable to be set to function properly.
* guix/build/haskell-build-system.scm (configure): Set CONFIG_SHELL if
necessary.
David Thompson [Fri, 19 Jun 2015 12:57:44 +0000 (08:57 -0400)]
scripts: environment: Add --container option.
* guix/scripts/system.scm (specification->file-system-mapping): Move from
here...
* guix/ui.scm (specification->file-system-mapping): ... to here.
* guix/scripts/enviroment.scm (show-help): Show help for new options.
(%options): Add --container --network, --expose, and --share options.
(%network-configuration-files): New variable.
(launch-environment, launch-environment/container, requisites*,
inputs->requisites): New procedures.
(guix-environment): Spawn new process in a container when requested.
* doc/guix.texi (Invoking guix environment): Document it.
* tests/guix-environment-container.sh: New file.
* Makefile.am (SH_TESTS): Add it.
Efraim Flashner [Sun, 25 Oct 2015 17:07:29 +0000 (19:07 +0200)]
gnu: youtube-dl: Upgrade to 2015.10.24.
* gnu/packages/video.scm (youtube-dl): Upgrade to 2015.10.24.
Mark H Weaver [Fri, 23 Oct 2015 19:32:31 +0000 (15:32 -0400)]
gnu: linux-libre: Update to 4.2.4.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.4.
Paul van der Walt [Wed, 21 Oct 2015 13:52:15 +0000 (15:52 +0200)]
import: hackage: Fix grammar.
Minor clarification regarding the test-dependencies command line option.
* guix/scripts/import/hackage.scm (show-help): Minor grammatical fix.
Paul van der Walt [Wed, 21 Oct 2015 13:46:25 +0000 (15:46 +0200)]
import: hackage: Update GHC libraries for 7.10.2.
Update ghc-standard-libraries to match the output of `ghc-pkg list` when
using GHC 7.10.2.
* guix/import/hackage.scm (ghc-standard-libraries): Sort and update list
of core GHC libraries.
Paul van der Walt [Fri, 16 Oct 2015 13:00:06 +0000 (15:00 +0200)]
gnu: Add Raincat.
* gnu/packages/games.scm (raincat): New variable.
Paul van der Walt [Fri, 16 Oct 2015 12:56:02 +0000 (14:56 +0200)]
gnu: Add ghc-sdl-image.
* gnu/packages/haskell.scm (ghc-sdl-image): New variable.
Paul van der Walt [Fri, 16 Oct 2015 12:55:05 +0000 (14:55 +0200)]
gnu: Add ghc-sdl-mixer.
* gnu/packages/haskell.scm (ghc-sdl-mixer): New variable.
Paul van der Walt [Fri, 16 Oct 2015 12:53:49 +0000 (14:53 +0200)]
gnu: Add ghc-sdl.
* gnu/packages/haskell.scm (ghc-sdl): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:51:46 +0000 (11:51 +0200)]
gnu: Add ghc-glut.
* gnu/packages/haskell.scm (ghc-glut): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:45:13 +0000 (11:45 +0200)]
gnu: Add ghc-opengl.
* gnu/packages/haskell.scm (ghc-opengl): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:45:00 +0000 (11:45 +0200)]
gnu: Add ghc-objectname.
* gnu/packages/haskell.scm (ghc-objectname): New variable.
Paul van der Walt [Fri, 16 Oct 2015 16:05:08 +0000 (18:05 +0200)]
gnu: Add ghc-gluraw.
* gnu/packages/haskell.scm (ghc-gluraw): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:36:58 +0000 (11:36 +0200)]
gnu: Add ghc-openglraw.
* gnu/packages/haskell.scm (ghc-openglraw): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:36:34 +0000 (11:36 +0200)]
gnu: Add ghc-half.
* gnu/packages/haskell.scm (ghc-half): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:17:34 +0000 (11:17 +0200)]
gnu: Add ghc-regex-compat.
* gnu/packages/haskell.scm (ghc-regex-compat): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:16:24 +0000 (11:16 +0200)]
gnu: Add ghc-regex-posix.
* gnu/packages/haskell.scm (ghc-regex-posix): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:14:01 +0000 (11:14 +0200)]
gnu: Add ghc-xhtml.
* gnu/packages/haskell.scm (ghc-xhtml): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:13:03 +0000 (11:13 +0200)]
gnu: Add ghc-haskell-src.
* gnu/packages/haskell.scm (ghc-haskell-src): New variable.
Paul van der Walt [Fri, 16 Oct 2015 09:10:46 +0000 (11:10 +0200)]
gnu: Add ghc-html.
* gnu/packages/haskell.scm (ghc-html): New variable.