aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-04profiles: Use a real arrow to denote upgrades in ASCII.Ludovic Courtès
Suggested by Alex Kost. * guix/profiles.scm (right-arrow): Fall back to "->". * tests/profiles.scm ("manifest-show-transaction"): Adjust accordingly.
2014-09-03Add Emacs user interface.Alex Kost
* configure.ac (emacsuidir): New variable. (AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'. * Makefile.am: Include 'emacs.am'. * emacs.am: New file. * doc/emacs.texi: New file. * doc/guix.texi: Include 'emacs.texi'. * emacs/guix-backend.el: New file. * emacs/guix-base.el: New file. * emacs/guix-helper.scm.in: New file. * emacs/guix-history.el: New file. * emacs/guix-info.el: New file. * emacs/guix-init.el.in: New file. * emacs/guix-list.el: New file. * emacs/guix-main.scm: New file. * emacs/guix-utils.el: New file. * emacs/guix.el: New file.
2014-09-03gnu: datamash: Fix license.Ludovic Courtès
* gnu/packages/datamash.scm (datamash)[license]: Change to GPL3+.
2014-09-03linux-initrd: Factorize cpio archive creation.Ludovic Courtès
* gnu/build/linux-initrd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/system/linux-initrd.scm (expression->initrd): Use (gnu build linux-initrd) and 'write-cpio-archive' instead of the inlined code.
2014-09-03Move part of (gnu build linux-boot) to (gnu build file-systems).Ludovic Courtès
* gnu/build/linux-boot.scm (%ext2-endianness, %ext2-sblock-magic, %ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name, read-ext2-superblock, ext2-superblock-uuid, ext2-superblock-volume-name, disk-partitions, partition-label-predicate, find-partition-by-label, canonicalize-device-spec, MS_RDONLY, MS_NOSUID, MS_NODEV, MS_NOEXEC, MS_BIND, MS_MOVE, bind-mount, check-file-system, mount-flags->bit-mask, mount-file-system): Move to... * gnu/build/file-systems.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * gnu/services/base.scm: Use (gnu build file-systems). * gnu/services/dmd.scm (dmd-configuration-file): Likewise. * gnu/system.scm (operating-system-activation-script): Likewise. * gnu/system/linux-initrd.scm (base-initrd): Likewise. * gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2014-09-03Rename (gnu build linux-initrd) to (gnu build linux-boot).Ludovic Courtès
* gnu/build/linux-initrd.scm: Rename to... * gnu/build/linux-boot.scm: ... this. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. * gnu/build/activation.scm, gnu/build/vm.scm, gnu/services/base.scm, gnu/services/dmd.scm, gnu/system.scm, gnu/system/linux-initrd.scm, gnu/system/vm.scm: Adjust accordingly.
2014-09-03Move operating system helpers from (guix build …) to (gnu build …).Ludovic Courtès
* guix/build/activation.scm, guix/build/install.scm, guix/build/linux-initrd.scm, guix/build/vm.scm: Move to... * gnu/build: ... here. * Makefile.am (MODULES): Remove the above guix/build/ files. * gnu-system.am (GNU_SYSTEM_MODULES): Add the above gnu/build/ files here. * gnu/services/base.scm, gnu/services/dmd.scm, gnu/system.scm, gnu/system/linux-initrd.scm, gnu/system/vm.scm, guix/scripts/system.scm: Adjust to the new module names.
2014-09-03doc: Mention 'guix lint' and '--list-dependent' in 'HACKING'.Ludovic Courtès
* HACKING (Submitting Patches): Mention 'guix lint' and 'guix refresh --list-dependent'.
2014-09-03guix lint: Remove "guix lint: " prefix from warnings.Ludovic Courtès
This allows editors to parse warnings correctly. * guix/scripts/lint.scm (emit-warning): Use 'format' instead of 'warning', to avoid the "guix lint: " prefix in messages. * tests/lint.scm (call-with-warnings): Indent.
2014-09-03gnu: Add postgresql.David Thompson
* gnu/packages/postgresql.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-09-03scripts: add guix lintCyril Roelandt
* guix/scripts/lint.scm: New file. Defines a 'lint' tool for Guix packages. * tests/lint.scm: New file. * Makefile.am (MODULES, SCM_TESTS): Add them. * po/guix/Makevars: Update appropriately. * po/guix/POTFILES.in: Update appropriately. * doc/guix.texi: Document "guix lint".
2014-09-03Move specification->package to gnu/packages.scm.Cyril Roelandt
* guix/scripts/build.scm (specification->package): Move from here... * gnu/packages.scm: ... to here.
2014-09-02daemon: Do not use 'vfork'.Ludovic Courtès
This fixes random EBADF errors in the daemon on ancient Linux kernels such as version 2.6.32. * config-daemon.ac: Remove detection of 'vfork'.
2014-09-02gnu: Add nvi.Marek Benc
* gnu/packages/nvi.scm: New file. * gnu/packages/patches/nvi-assume-preserve-path.patch: New file. * gnu-system.am: Add them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-09-02profiles: Report version numbers in a separate column.Ludovic Courtès
* guix/profiles.scm (manifest-show-transaction)[package-strings, upgrade-strings]: Show version number in separate column. Show OUTPUT in first column, and only when it's different from "out".
2014-09-02profiles: Report the old and new version number in upgrades.Ludovic Courtès
* guix/profiles.scm (manifest-lookup): New procedure. (manifest-installed?): Use it. (manifest-transaction-effects): Return a pair of entries for upgrades. (right-arrow): New procedure. (manifest-show-transaction)[upgrade-string, →]: New variables. Report upgrades using 'upgrade-string'. * tests/profiles.scm ("manifest-show-transaction"): New test. ("manifest-transaction-effects"): Match UPGRADE against a pair.
2014-09-02doc: Update "Installing Guix from Guix".Ludovic Courtès
* README: Make 'guix package' command line more readable. Mention --localstatedir.
2014-09-02gnu: ucommon: Update to 6.1.10.Ludovic Courtès
* gnu/packages/telephony.scm (ucommon): Update to 6.1.10.
2014-09-02gnu: libtasn1: Update to 4.1.Ludovic Courtès
* gnu/packages/gnutls.scm (libtasn1): Update to 4.1.
2014-09-01gnu: datamash: Update to 1.0.6.Ludovic Courtès
* gnu/packages/datamash.scm (datamash): Update to 1.0.6.
2014-09-01gnu: parallel: Update to 20140822.Ludovic Courtès
* gnu/packages/parallel.scm (parallel): Update to 20140822.
2014-09-01gnu: help2man: Update to 1.46.1.Ludovic Courtès
* gnu/packages/man.scm (help2man): Update to 1.46.1.
2014-09-01doc: Clarify system installation and configuration details.Ludovic Courtès
Reported by leth on #guix. * doc/guix.texi (System Installation): Suggest running 'reboot' instead of 'umount /mnt'. (Initial RAM Disk): Add xref to SRFI-26.
2014-09-01sync-with-upstream: Generate 'nix/AUTHORS'.Ludovic Courtès
* nix/sync-with-upstream: Use 'git shortlog' to generate nix/AUTHORS.
2014-08-31Thank Frederico.Ludovic Courtès
2014-08-31gnu: gcc-toolchain: Inherit GCC's search path specifications.Ludovic Courtès
Reported by Federico Beffa <beffa@ieee.org>. * gnu/packages/commencement.scm (gcc-toolchain): Add 'native-search-paths' and 'search-paths' fields.
2014-08-31guix package: Fix search path lookup when an obsolete version is installed.Ludovic Courtès
Before that, 'guix package --search-paths' would not work if, say, 'foo-0.2' is installed but the distro provides 'foo-0.3'. * guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]: Handle the case where 'find-best-packages-by-name' returns '().
2014-08-31daemon: Rename '--disable-store-optimization' to '--disable-deduplication'.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_DISABLE_STORE_OPTIMIZATION): Rename to... (GUIX_OPT_DISABLE_DEDUPLICATION): ... this. Adjust user accordingly. (options): Add "disable-deduplication". Make "disable-store-optimization" a hidden alias. * doc/guix.texi (Invoking guix-daemon): Adjust to new option name. Add index entry. Improve description.
2014-08-31daemon: Really enable automatic deduplication by default.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (main): Set 'autoStoreOptimise' to true. Add 'printMsg' call. * tests/derivations.scm ("identical files are deduplicated"): New test.
2014-08-30profiles: Compute transaction effects in a functional way.Ludovic Courtès
* guix/profiles.scm (manifest-transaction-effects): New procedure. (manifest-show-transaction): Use it instead of locally computing it. * tests/profiles.scm (glibc): New variable. ("manifest-transaction-effects"): New test.
2014-08-29offload: Ignore EEXIST when registering a .drv as a GC root.Ludovic Courtès
Fixes <http://bugs.gnu.org/18115>. Reported by Mark H Weaver <mhw@netris.org>. * guix/scripts/offload.scm (register-gc-root)[script]: Wrap 'symlink' call in "catch 'system-error", and ignore EEXIST errors.
2014-08-29offload: Ignore unreachable machines.Ludovic Courtès
Fixes <http://bugs.gnu.org/18070>. Reported by Andreas Enge <andreas@enge.fr>. * guix/scripts/offload.scm (remote-pipe): Augment docstring. (machine-load): Return +inf.0 instead of 1 if MACHINE does not respond or responds badly.
2014-08-29gnu: Add nss-mdns.Ludovic Courtès
* gnu/packages/avahi.scm (nss-mdns): New variable.
2014-08-28doc: %final-inputs is now in (gnu packages commencement).Mark H Weaver
* doc/guix.texi (Bootstrapping): Adjust the text to reflect that '%final-inputs' is now in (gnu packages commencement).
2014-08-28hydra: Adjust to (gnu packages commencement) split from (gnu packages base).Mark H Weaver
* build-aux/hydra/gnu-system.scm: Import (gnu packages commencement).
2014-08-28gnu: Add perl-archive-zip.John Darrington
* gnu/packages/perl.scm (perl-archive-zip): New variable.
2014-08-28gnu: Add bison-2.7John Darrington
* gnu/packages/bison.scm (bison-2.7): New variable. Bison 3.x and 2.x are incompatible. Some programs require 2.x
2014-08-28gnu: libwebsockets: Update to 1.3.Ludovic Courtès
* gnu/packages/web.scm (libwebsockets): Update to 1.3. Switch to CMAKE-BUILD-SYSTEM. Remove #:phases parameter and add #:tests?. Remove AUTOCONF, AUTOMAKE, and LIBTOOL from 'native-inputs'.
2014-08-28gnu: Add Guile-Charting.Ludovic Courtès
* gnu/packages/guile.scm (guile-charting): New variable.
2014-08-28gnu: guile-cairo: Propagate Cairo.Ludovic Courtès
* gnu/packages/gtk.scm (guile-cairo): Move CAIRO to 'propagated-inputs'.
2014-08-28gnu: Split (gnu packages base), adding (gnu packages commencement).Ludovic Courtès
* gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0, findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet, binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0, texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash, cross-gcc-wrapper, static-bash-for-glibc, glibc-final, gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++, gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs, guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final, %boot5-inputs, %final-inputs, canonical-package, gcc-toolchain, gcc-toolchain-4.8, gcc-toolchain-4.9): Move to... * gnu/packages/commencement.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * build-aux/check-final-inputs-self-contained.scm: Adjust accordingly. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * guix/build-system/cmake.scm (cmake-build): Likewise. * guix/build-system/gnu.scm (standard-packages, gnu-build, gnu-cross-build): Likewise. * guix/build-system/perl.scm (perl-build): Likewise. * guix/build-system/python.scm (python-build): Likewise. * guix/build-system/trivial.scm (guile-for-build): Likewise. * guix/download.scm (url-fetch): Likewise. * guix/gexp.scm (default-guile): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/monads.scm (run-with-store): Likewise. * guix/packages.scm (default-guile): Likewise. * guix/scripts/package.scm (guix-package): Likewise. * guix/scripts/refresh.scm: Likewise. * guix/svn-download.scm (svn-fetch): Likewise. * tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths): Likewise. * tests/packages.scm ("GNU Make, bootstrap"): Likewise. * tests/guix-package.sh: Likewise. * gnu/services/base.scm: Use 'canonical-package' instead of xxx-final. * gnu/services/xorg.scm: Likewise. * gnu/system/vm.scm: Likewise. * guix/scripts/pull.scm (guix-pull): Likewise.
2014-08-28linux-initrd: Wait a bit longer for partitions to appear.Ludovic Courtès
Reported by Sveltana on #guix. * guix/build/linux-initrd.scm (canonicalize-device-spec): Increase MAX-TRIALS. Add "waiting for partition" 'format' call.
2014-08-28profiles: Add gzip to $PATH before invoking 'install-info'.Ludovic Courtès
* guix/profiles.scm (info-dir-file)[gzip]: New variable. [build]: Add 'setenv' call.
2014-08-27build-system/perl: Add handling of flags for parallel build and testing.Andreas Enge
* guix/build-system/perl.scm (perl-build): Add support for variables parallel-build? and parallel-tests?. * guix/build-system/gnu.scm (gnu-build): Add a line break for clarity.
2014-08-27gnu: Add unclutter.Alex Kost
* gnu/packages/unclutter.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-08-27tests: Fix typo in guix-build.sh.Ludovic Courtès
* tests/guix-build.sh: Refer to the '%bootstrap' variables from (gnu packages bootstrap), not (gnu packages base).
2014-08-26doc: Replace /nix/store with /gnu/store in README.John Darrington
* README update anachronistic reference to /nix/store
2014-08-25profiles: Handle packages without a 'share/info' directory.Ludovic Courtès
Reported by Mark H. Weaver. * guix/profiles.scm (info-dir-file): Handle the case where 'scandir' returns #f.
2014-08-25build: Fix typo.Alex Kost
* pre-inst-env.in: Fix typo in commentary.
2014-08-25guix-register: By default, attempt to deduplicate registered items.Ludovic Courtès
* nix/guix-register/guix-register.cc (GUIX_OPT_DEDUPLICATE): New macro. (options): Add --no-deduplication. (deduplication): New variable. (parse_opt): Handle GUIX_OPT_DEDUPLICATE. (register_validity): Add 'optimize' parameter and honor it. (main): Move 'store' instanatiation after 'settings.nixStore' assignment. * tests/guix-register.sh: Add test for deduplication. * guix/nar.scm (finalize-store-file): Update comment above 'register-path' call.