summary refs log tree commit diff
AgeCommit message (Collapse)Author
2015-07-03gnu: qt-4: Remove reference from "out" to "doc".Ludovic Courtès
* gnu/packages/qt.scm (qt-4)[arguments]: Remove '-docdir' configure flag. Add 'move-doc' phase.
2015-07-03gnu: qt-4: Use a more standard directory layout.Ludovic Courtès
* gnu/packages/qt.scm (qt-4)[arguments]: Pass -datadir, -importdir, -plugindir, and -translationdir.
2015-07-03gnu: qt-4: Use 'modify-phases'.Ludovic Courtès
* gnu/packages/qt.scm (qt-4)[arguments]: Use 'modify-phases' instead of 'alist-replace'.
2015-07-03gnu: cups-filter: Install backends and filters under lib/cups.Ludovic Courtès
This ensures that they are stripped during the 'strip' phase, thereby removing references to GCC and linux-libre-headers that would otherwise be found in debugging symbols. * gnu/packages/cups.scm (cups-filters)[source]: Change pkgbackenddir and pkgfilterdir to $(PREFIX)/lib/cups/{filter,backend}. (cups)[arguments]: Adjust accordingly.
2015-07-03gnu: mysql: Remove unnecessary binaries.Ludovic Courtès
This saves ~42 MiB on x86_64. * gnu/packages/databases.scm (mysql)[arguments]: Add 'remove-extra-binaries' phase.
2015-07-03gnu: mysql: Strip references and GCC and other build-time dependencies.Ludovic Courtès
* gnu/packages/databases.scm (mysql)[arguments]: Add 'strip-extra-references' phase.
2015-07-03gnu: mutt: Don't retain reference to GCC.Ludovic Courtès
* gnu/packages/patches/mutt-store-references.patch: New file. * gnu/packages/mail.scm (mutt)[source]: Use it. * gnu-system.am (dist_patch_DATA): Add it.
2015-07-03gnu: ghostscript: Add "doc" output.Ludovic Courtès
* gnu/packages/ghostscript.scm (ghostscript)[source](snippet): New field. [outputs]: New field. [arguments]: Add 'remove-doc-reference' phase.
2015-07-03derivations: Add #:substitutable?, distinguished from #:local-build?.Ludovic Courtès
Fixes <http://bugs.gnu.org/18747>. * guix/derivations.scm (substitutable-derivation?): Rewrite to check for "allowSubstitutes". (derivation): Add #:substitutable? parameter. [user+system-env-vars]: Honor it. (build-expression->derivation): Add #:substitutable? and honor it. * guix/gexp.scm (gexp->derivation): Likewise. * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes, non-substitutable build"): Use #:substitutable? instead of #:local-build?. ("substitutable-derivation?", "derivation-prerequisites-to-build and substitutes, local build"): New tests. * guix/download.scm (url-fetch): Adjust comment. * guix/git-download.scm (git-fetch): Likewise. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Use #:substitutable? instead of #:local-build?. * doc/guix.texi (Derivations, G-Expressions): Adjust accordingly.
2015-07-03Merge branch 'nix'.Ludovic Courtès
This is a squashed commit of the following: commit 0dccab9f417b406f5d4aedc81900fc7b2f16c9f6 Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Thu Jul 2 00:30:16 2015 +0200 Typo commit 2cd28517b13524c242c7758783b0b2d8250fdded Author: Ludovic Courtès <ludo@gnu.org> Date: Wed Jul 1 14:56:34 2015 +0200 Preserve supplementary groups of build users The following patch is an attempt to address this bug (see <http://bugs.gnu.org/18994>) by preserving the supplementary groups of build users in the build environment. In practice, I would expect that supplementary groups would contain only one or two groups: the build users group, and possibly the “kvm” group. [Changed &at(0) to data() and removed tabs - Eelco] commit 6e38685ef65284093df79ebe7378bac33b0e7e5d Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Tue Jun 30 21:41:26 2015 +0200 GC: Handle ENOSPC creating/moving to the trash directory Issue #564. commit 5e0a9ae2e25a1016389f4893a6ed6682aadcf51d Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Mon Jun 22 15:54:55 2015 +0200 Use posix_fallocate to create /nix/var/nix/db/reserved commit 4e5ab98d6d14f8b0e3bd1d77b2f4f2354e7a49a8 Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Mon Jun 22 15:47:40 2015 +0200 Make /nix/var/nix/db/reserved bigger Issue #564. commit 60bda60fc06135aa97a93301b1a9e2270768f5b3 Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Wed Jun 10 16:17:06 2015 +0200 Export outputPaths function This is useful for the new hydra-queue-runner. commit 5dfea34048aa8541f20aeb2fbcd163561b609a49 Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Thu Jul 2 22:51:33 2015 +0200 Use std::vector::data() commit 2459458bc8257734ca78cb7a2db3df20bd730ec0 Author: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Thu Jun 4 16:04:41 2015 +0200 Allow substitutes for builds that have preferLocalBuild set Not substituting builds with "preferLocalBuild = true" was a bad idea, because it didn't take the cost of dependencies into account. For instance, if we can't substitute a fetchgit call, then we have to download/build git and all its dependencies. Partially reverts 5558652709f27e8a887580b77b93c705659d7a4b and adds a new derivation attribute "allowSubstitutes" to specify whether a derivation may be substituted.
2015-07-02scripts: environment: Return the exit status of the command.Cyril Roelandt
* guix/scripts/environment.scm (guix-environment): Return the exit status of the command.
2015-07-02gnu: gnupg: Enable TLS support.Mark H Weaver
* gnu/packages/gnupg.scm (gnupg)[native-inputs]: Add pkg-config. [inputs]: Add gnutls. (gnupg-2.0, gnupg-1)[native-inputs]: Override inherited value to be '().
2015-07-02gnu: gnupg: Update to 2.1.6.Mark H Weaver
* gnu/packages/gnupg.scm (gnupg): Update to 2.1.6.
2015-07-02gnu: Add WarpedLMM.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (python2-warpedlmm): New variable.
2015-07-02gnu: r: Set default pager.Ricardo Wurmus
* gnu/packages/statistics.scm (r)[arguments]: Add phase "set-default-pager" to avoid "false" as a default pager.
2015-07-01environment: Define 'GUIX_ENVIRONMENT'.Ludovic Courtès
* guix/scripts/environment.scm (create-environment): Define 'GUIX_ENVIRONMENT'. * doc/guix.texi (Invoking guix environment): Document it. * gnu/system/shadow.scm (default-skeletons): Adjust 'PS1' depending on whether 'GUIX_ENVIRONMENT' is defined.
2015-07-01doc: Mention .bashrc vs. .bash_profile for 'guix environment'.Ludovic Courtès
* doc/guix.texi (Invoking guix environment): Add footnote about .bashrc vs. .bash_profile.
2015-07-01environment: Improve error reporting for '-l'.Ludovic Courtès
This fixes two problems: 1. Load errors would print an ugly backtrace. 2. When FILE was an absolute name, 'load' was passed an incorrect file name. * guix/scripts/environment.scm (options/resolve-packages): Use 'load*' instead of 'load'.
2015-07-01environment: For --ad-hoc, allow users to specify an output.Ludovic Courtès
* guix/scripts/environment.scm (package+propagated-inputs): Add 'output' parameter. Use it in return value. (options/resolve-packages): Use 'append-map' instead of 'map'. For 'load' and 'expression', return all the outputs of the resulting package. For 'package', use 'specification->package+output' instead of 'specification->package'. (guix-environment): Adjust uses of PACKAGES accordingly. * doc/guix.texi (Invoking guix environment): Document it. * tests/guix-environment.sh: Add test for --ad-hoc guile-bootstrap:out.
2015-07-01environment: Add --system.Ludovic Courtès
* guix/scripts/environment.scm (show-help, %options): Add -s/--system. (%default-options): Add 'system' pair. (guix-environment): Pass 'system' value from OPTS to 'lower-inputs'. * doc/guix.texi (Invoking guix environment): Document it.
2015-07-01environment: Add only the specified outputs of the dependencies.Ludovic Courtès
Before that, 'guix environment guile' (for instance) would define environment variables that would refer to the "include" output of Bash, the "debug" output of libgc, etc., even though these are not listed as inputs in the recipe of 'guile'. * guix/gexp.scm (lower-inputs): Export. * guix/scripts/environment.scm (evaluate-input-search-paths): Remove 'derivations' parameter; add 'search-paths'. Expect 'inputs' to be a list of tuples. Adjust callers. (create-environment): Remove 'derivations' parameter; add 'search-paths'. (show-search-paths): Likewise. (package+propagated-inputs): New procedure. (packages->transitive-inputs, packages+propagated-inputs): Remove. (build-inputs): Expect INPUTS to be a list of derivation tuples. (guix-environment): Compute INPUTS using 'package+propagated-inputs', 'package->bag', and 'bag-transitive-inputs'. Move 'run-with-store' higher. * tests/guix-environment.sh: Add test with FINDUTILS-BOOT0.
2015-07-01tests: Add tests for 'guix environment'.Ludovic Courtès
* tests/guix-environment.sh: New file. * Makefile.am (SH_TESTS): Add it.
2015-07-01gnu: powertabeditor: Replace "gcc" with "libiberty".Ricardo Wurmus
* gnu/packages/music.scm (powertabeditor)[inputs]: Replace "gcc" with "libiberty".
2015-07-01gnu: Add Hydrogen.Ricardo Wurmus
* gnu/packages/music.scm (hydrogen): New variable.
2015-07-01gnu: linux-libre: Update to 4.1.1.Mark H Weaver
* gnu/packages/linux.scm (linux-libre): Update to 4.1.1.
2015-06-30gnu: git: Add inputs for send-email.Eric Bavier
* gnu/packages/version-control.scm (package-transitive-propagated-labels*) (package-propagated-input-refs): New procedures. (git)[inputs]: Add perl-authen-sasl, perl-net-smtp-ssl, and perl-io-socket-ssl. [outputs]: Add send-email output. [arguments]: Add #:modules argument with srfi-1. In 'split phase, wrap git-send-email.
2015-06-30gnu: Add perl-authen-sasl.Eric Bavier
* gnu/packages/web.scm (perl-authen-sasl): New variable.
2015-06-30gnu: Add perl-gssapi.Eric Bavier
* gnu/packages/web.scm (perl-gssapi): New variable.
2015-06-30gnu: Add perl-net-smtp-ssl.Eric Bavier
* gnu/packages/web.scm (perl-net-smtp-ssl): New variable.
2015-06-30gnu: curl: Disable test that fails on Hydra.Mark H Weaver
* gnu/packages/curl.scm (arguments): Disable test 1510.
2015-06-30gnu: curl: Update to 7.43.0.Mark H Weaver
* gnu/packages/curl.scm (curl): Update to 7.43.0.
2015-06-29gnu: Add deal.II.Eric Bavier
* gnu/packages/maths.scm (dealii, dealii-openmpi): New variables. * gnu/packages/patches/dealii-p4est-interface.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
2015-06-29gnu: Add SLEPc.Eric Bavier
* gnu/packages/maths.scm (slepc, slepc-complex, slepc-openmpi) (slepc-complex-openmpi): New variables.
2015-06-29gnu: Add arpack-ng-openmpi.Eric Bavier
* gnu/packages/maths.scm (arpack-ng-openmpi): New variable.
2015-06-29gnu: petsc: Upgrade to 3.6.0.Eric Bavier
* gnu/packages/maths.scm (petsc): Upgrade to 3.6.0. * gnu/packages/patches/petsc-fix-threadcomm.patch: Delete patch. * gnu-system.am (dist_patch_DATA): Remove it.
2015-06-29gnu: Add MUMPS.Eric Bavier
* gnu/packages/maths.scm (mumps, mumps-metis, mumps-openmpi) (mumps-metis-openmpi): New variables. * gnu/packages/patches/mumps-build-parallelism.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
2015-06-29gnu: Add METIS.Eric Bavier
* gnu/packages/maths.scm (metis): New variable.
2015-06-29gnu: Add p4est.Eric Bavier
* gnu/packages/maths.scm (p4est, p4est-openmpi): New variables.
2015-06-29gnu: Add ScaLAPACK.Eric Bavier
* gnu/packages/maths.scm (scalapack): New variable.
2015-06-29gnu: scotch, pt-scotch: Build esmumps libraries.Eric Bavier
* gnu/packages/maths.scm (scotch)[arguments]: Add 'build-esmumps phase. Install esmumps libraries and headers in 'install phase. (pt-scotch)[arguments]: Build ptesmumps in 'build phase. Add make parallelism.
2015-06-29gnu: scotch, pt-scotch: Use modify-phases.Eric Bavier
* gnu/packages/maths.scm (scotch, pt-scotch)[arguments]: Use modify-phases.
2015-06-29gnu: Update scotch to 6.0.4.Eric Bavier
* gnu/packages/maths.scm (scotch): Update to 6.0.4. [arguments]: Add -fPIC to CFLAGS. * gnu/packages/patches/scotch-test-threading.patch: Adjust patch for a new set of test fixes. * gnu/packages/patches/pt-scotch-build-parallelism.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
2015-06-29gnu: openmpi: Upgrade to 1.8.5.Eric Bavier
* gnu/packages/mpi.scm (openmpi): Upgrade to 1.8.5. [native-inputs]: Add perl. [arguments]: Add configure flags for thread support.
2015-06-29gnu: hwloc: Move numactl to inputs.Eric Bavier
* gnu/packages/mpi.scm (hwloc)[propagated-inputs]: Move numactl from here... [inputs]: ...to here. [arguments]: New 'refine-libnuma' phase.
2015-06-29gnu: hwloc: Upgrade to 1.10.1.Eric Bavier
* gnu/packages/patches/hwloc-gather-topology-lstopo.patch: New patch. * gnu/packages/mpi.scm (hwloc): Upgrade to 1.10.1. [source]: Use patch. [propagated-inputs]: Remove libpci. [inputs]: Add libpciaccess. * gnu-system.am (dist_patch_DATA): Add patch.
2015-06-29gnu: python-mccabe: Fix license field.Eric Bavier
* gnu/packages/python.scm (python-mccabe)[license]: 'expat' -> 'license:expat'.
2015-06-30gnu: Add python-flake8.Cyril Roelandt
* gnu/packages/python.scm (python-flake8, python2-flake8): New variables.
2015-06-30gnu: Add python-mccabe.Cyril Roelandt
* gnu/packages/python.scm (python-mccabe, python2-mccabe): New variables.
2015-06-30gnu: Add python-pyflakes.Cyril Roelandt
* gnu/packages/python.scm (python-pyflakes, python2-pyflakes): New variables.
2015-06-30gnu: Add python-pep8.Cyril Roelandt
* gnu/packages/python.scm (python-pep8, python2-pep8): New variables.