summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* environment: Improve error reporting for '-l'.•••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'. Ludovic Courtès2015-07-011-1/+1
* environment: For --ad-hoc, allow users to specify an output.•••* 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. Ludovic Courtès2015-07-013-16/+39
* environment: Add --system.•••* 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. Ludovic Courtès2015-07-012-1/+12
* environment: Add only the specified outputs of the dependencies.•••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. Ludovic Courtès2015-07-013-78/+101
* tests: Add tests for 'guix environment'.•••* tests/guix-environment.sh: New file. * Makefile.am (SH_TESTS): Add it. Ludovic Courtès2015-07-012-0/+62
* gnu: powertabeditor: Replace "gcc" with "libiberty".•••* gnu/packages/music.scm (powertabeditor)[inputs]: Replace "gcc" with "libiberty". Ricardo Wurmus2015-07-011-2/+2
* gnu: Add Hydrogen.•••* gnu/packages/music.scm (hydrogen): New variable. Ricardo Wurmus2015-07-011-0/+70
* gnu: linux-libre: Update to 4.1.1.•••* gnu/packages/linux.scm (linux-libre): Update to 4.1.1. Mark H Weaver2015-07-011-2/+2
* gnu: git: Add inputs for send-email.•••* 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. Eric Bavier2015-06-301-3/+46
* gnu: Add perl-authen-sasl.•••* gnu/packages/web.scm (perl-authen-sasl): New variable. Eric Bavier2015-06-301-0/+21
* gnu: Add perl-gssapi.•••* gnu/packages/web.scm (perl-gssapi): New variable. Eric Bavier2015-06-301-0/+24
* gnu: Add perl-net-smtp-ssl.•••* gnu/packages/web.scm (perl-net-smtp-ssl): New variable. Eric Bavier2015-06-301-0/+20
* gnu: curl: Disable test that fails on Hydra.•••* gnu/packages/curl.scm (arguments): Disable test 1510. Mark H Weaver2015-06-301-0/+19
* gnu: curl: Update to 7.43.0.•••* gnu/packages/curl.scm (curl): Update to 7.43.0. Mark H Weaver2015-06-301-2/+2
* gnu: Add deal.II.•••* 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. Eric Bavier2015-06-293-1/+146
* gnu: Add SLEPc.•••* gnu/packages/maths.scm (slepc, slepc-complex, slepc-openmpi) (slepc-complex-openmpi): New variables. Eric Bavier2015-06-291-0/+100
* gnu: Add arpack-ng-openmpi.•••* gnu/packages/maths.scm (arpack-ng-openmpi): New variable. Eric Bavier2015-06-291-0/+9
* gnu: petsc: Upgrade to 3.6.0.•••* 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. Eric Bavier2015-06-293-32/+10
* gnu: Add MUMPS.•••* 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. Eric Bavier2015-06-293-0/+183
* gnu: Add METIS.•••* gnu/packages/maths.scm (metis): New variable. Eric Bavier2015-06-291-0/+30
* gnu: Add p4est.•••* gnu/packages/maths.scm (p4est, p4est-openmpi): New variables. Eric Bavier2015-06-291-0/+46
* gnu: Add ScaLAPACK.•••* gnu/packages/maths.scm (scalapack): New variable. Eric Bavier2015-06-291-0/+29
* gnu: scotch, pt-scotch: Build esmumps libraries.•••* 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. Eric Bavier2015-06-291-3/+20
* gnu: scotch, pt-scotch: Use modify-phases.•••* gnu/packages/maths.scm (scotch, pt-scotch)[arguments]: Use modify-phases. Eric Bavier2015-06-291-39/+31
* gnu: Update scotch to 6.0.4.•••* 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. Eric Bavier2015-06-294-132/+29
* gnu: openmpi: Upgrade to 1.8.5.•••* gnu/packages/mpi.scm (openmpi): Upgrade to 1.8.5. [native-inputs]: Add perl. [arguments]: Add configure flags for thread support. Eric Bavier2015-06-291-8/+11
* gnu: hwloc: Move numactl to inputs.•••* gnu/packages/mpi.scm (hwloc)[propagated-inputs]: Move numactl from here... [inputs]: ...to here. [arguments]: New 'refine-libnuma' phase. Eric Bavier2015-06-291-3/+13
* gnu: hwloc: Upgrade to 1.10.1.•••* 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. Eric Bavier2015-06-293-13/+24
* gnu: python-mccabe: Fix license field.•••* gnu/packages/python.scm (python-mccabe)[license]: 'expat' -> 'license:expat'. Eric Bavier2015-06-291-1/+1
* gnu: Add python-flake8.•••* gnu/packages/python.scm (python-flake8, python2-flake8): New variables. Cyril Roelandt2015-06-301-0/+70
* gnu: Add python-mccabe.•••* gnu/packages/python.scm (python-mccabe, python2-mccabe): New variables. Cyril Roelandt2015-06-301-0/+27
* gnu: Add python-pyflakes.•••* gnu/packages/python.scm (python-pyflakes, python2-pyflakes): New variables. Cyril Roelandt2015-06-301-0/+24
* gnu: Add python-pep8.•••* gnu/packages/python.scm (python-pep8, python2-pep8): New variables. Cyril Roelandt2015-06-301-0/+27
* doc: Add 'guix environment' examples.•••* doc/environment-gdb.scm: New file. * doc.am (EXTRA_DIST): Add it. * doc/guix.texi (Invoking guix environment): Clarify wording of the first example. Add a --ad-hoc example upfront. Add an example for '-e', and one for '-l'. Ludovic Courtès2015-06-293-4/+45
* gnu: withershins: Use new "libiberty" package.•••* gnu/packages/code.scm (withershins)[inputs]: Replace "gcc" with "libiberty". [arguments]: Simplify "find-libiberty" phase. Ricardo Wurmus2015-06-291-14/+6
* gnu: Add libiberty.•••* gnu/packages/gcc.scm (make-libiberty, libiberty): New variables. Ricardo Wurmus2015-06-291-0/+35
* gnu: r: Update to 3.2.1.•••* gnu/packages/statistics.scm (r): Update to 3.2.1. * gnu/packages/patches/r-fix-15899.patch: Remove file. * gnu-system.am (dist_patch_DATA): Remove it. Ricardo Wurmus2015-06-293-21/+2
* gnu: Add Blast+.•••* gnu/packages/bioinformatics.scm (blast+): New variable. Ricardo Wurmus2015-06-291-0/+148
* gnu: global: Update to 6.5.•••* gnu/packages/code.scm (global): Update to 6.5. Ludovic Courtès2015-06-291-2/+2
* gnu: help2man: Update to 1.47.1.•••* gnu/packages/man.scm (help2man): Update to 1.47.1. Ludovic Courtès2015-06-291-2/+2
* gnu: parallel: Update to 20150622.•••* gnu/packages/parallel.scm (parallel): Update to 20150622. Ludovic Courtès2015-06-291-2/+2
* gnu: screen: Update to 4.3.1.•••* gnu/packages/screen.scm (screen): Update to 4.3.1. Ludovic Courtès2015-06-291-2/+2
* gnu: texinfo: Add version 6.0.•••* gnu/packages/texinfo.scm (texinfo-6): New variable. Ludovic Courtès2015-06-291-1/+13
* gnu: gcc-4.8: Update to 4.8.5.•••* gnu/packages/gcc.scm (gcc-4.8): Update to 4.8.5. Ludovic Courtès2015-06-291-2/+2
* doc: Add quote about running a monadic value.•••* doc/guix.texi (The Store Monad): Add funny quote about "running" a monadic value. Ludovic Courtès2015-06-291-2/+7
* gnu: Add plink.•••* gnu/packages/bioinformatics.scm (plink): New variable. * gnu/packages/patches/plink-1.07-unclobber-i.patch: New file. Ricardo Wurmus2015-06-292-0/+122
* gnu: synergy: Upgrade to 1.7.3.•••* gnu/packages/synergy.scm (synergy)[version]: Upgrade to 1.7.3 [source]: Use github for source download. Add snippet to remove bundled source and binaries. [inputs]: Add openssl. [arguments]: Copy example configuration files to out during 'install phase. Eric Bavier2015-06-281-14/+36
* gnu: Add sfarkxtc.•••* gnu/packages/compression.scm (sfarkxtc): New variable. Ricardo Wurmus2015-06-281-0/+33
* gnu: Add sfarklib.•••* gnu/packages/compression.scm (sfarklib): New variable. Ricardo Wurmus2015-06-281-1/+37
* gnu: Add Guitarix.•••* gnu/packages/audio.scm (guitarix): New variable. Ricardo Wurmus2015-06-281-0/+61