summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2012-09-05packages: Add `package-full-name'.•••* guix/packages.scm (package-full-name): New procedure. (package-derivation): Use it. Ludovic Courtès
2012-09-04guix-build: Add `--derivations'.•••* guix-build.in (show-help): Add `--derivations'. (%options): Likewise. (guix-build): Handle it. Ludovic Courtès
2012-09-04guix-build: Add `--source'.•••* guix-build.in (derivations-from-package-expressions): Add `source?' parameter. Honor it. (show-help): Add `--source'. (%options): Likewise. (guix-build): Honor `--source'. Ludovic Courtès
2012-09-03Move <location> to (guix utils).•••* guix/packages.scm (<location>, location): Move to... * guix/utils.scm: ... here. Ludovic Courtès
2012-09-03distro: bash, readline: Correctly set RUNPATH to the dependencies.•••* distro/base.scm (readline): Add configure flags to set an rpath on ncurses. (bash): Add configure flags to set an rpath to readline and ncurses. Ludovic Courtès
2012-09-02distro: Add bzip2.•••* distro/base.scm (bzip2): New variable. (%final-inputs): Add bzip2. Ludovic Courtès
2012-09-02distro: Bootstrap standard inputs from Nixpkgs.•••This is a first step towards bootstrapping from a set of pre-built, statically-linked binaries. * guix/build-system/gnu.scm (package-with-explicit-inputs, standard-inputs): New procedure. (%store): New variable. (%standard-inputs): Remove. (gnu-build): New `implicit-inputs?' keyword parameter. Use it to choose whether to use `(standard-inputs SYSTEM)' or the empty list. * distro/base.scm (guile-2.0): Remove dependency on XZ, which is now implicit. (%bootstrap-inputs, gcc-boot0, binutils-boot0, linux-headers-boot0, %boot1-inputs, glibc-final, %boot2-inputs, m4-boot2, gmp-boot2, mpfr-boot2, mpc-boot2, %boot3-inputs, gcc-final, %boot4-inputs, %final-inputs): New variables. Ludovic Courtès
2012-09-02packages: Add `package-transitive-propagated-inputs'.•••* guix/packages.scm (transitive-inputs): New procedure. (package-transitive-inputs): Rewrite in terms of `transitive-inputs'. (package-transitive-propagated-inputs): New procedure. Ludovic Courtès
2012-09-02packages: Cache the result of `package-derivation'.•••* guix/packages.scm (%derivation-cache): New variable. (cache, cached-derivation): New procedures. (package-derivation): Use them. Ludovic Courtès
2012-09-02distro: recutils: Allow builds with glibc 2.16+.•••* distro/base.scm (recutils): Apply. `diffutils-gets-undeclared.patch'. Ludovic Courtès
2012-09-02distro: glibc: Propagate Linux headers.•••* distro/base.scm (glibc): Move LINUX-HEADERS from `native-inputs' to `propagated-inputs'. Remove unnecessary `_' in /bin/pwd substitution. Ludovic Courtès
2012-09-02distro: diffutils: Allow builds with glibc 2.16+.•••* distro/patches/diffutils-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it. * distro/base.scm (diffutils): Apply. `diffutils-gets-undeclared.patch'. Ludovic Courtès
2012-09-02distro: tar: Allow builds with glibc 2.16+.•••* distro/patches/tar-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it. * distro/base.scm (tar): Apply. `tar-gets-undeclared.patch'. Ludovic Courtès
2012-09-02packages: Add a printer for <package>.•••* guix/packages.scm (<package>): Add record printer. Ludovic Courtès
2012-09-02Optimize `write-derivation' and `derivation-path->output-path'.•••* guix/derivations.scm (write-derivation): Explicitly use `simple-format'. (derivation-path->output-path): Memoize. Ludovic Courtès
2012-09-01Optimize `store-path?'.•••* guix/store.scm (store-path?): Check with `string-prefix?' instead of a regexp. Ludovic Courtès
2012-09-01build-system/gnu: Really apply patches.•••* guix/build/gnu-build-system.scm (patch): Use `--input FILE', not just `FILE'. Ludovic Courtès
2012-09-01utils: Change `substitute*' to allow iteration over several matches.•••* guix/build/utils.scm (substitute): Do not pass the OUT to PROC; use `list-matches' instead of `regexp-exec' and pass a list of matches to PROC. Expect PROC to return a string, and output that. Fold over RX+PROC in order. Use `(read-line p 'concat)' to include the trailing delimiter in LINE. (substitute*): Produce code to iterate over the matches, and return a string, which includes anything from the original line that's in between matches. * distro/base.scm (gcc-4.7, glibc): Adjust accordingly: remove use of (ice-9 regex) and `regexp-substitute/global'; return a string. Ludovic Courtès
2012-09-01distro: m4: Add patch to allow builds with glibc 2.16+.•••* distro/base.scm (m4): Use `m4-gets-undeclared.patch'. * distro/patches/m4-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it. Ludovic Courtès
2012-09-01Add a `guile-for-build' parameter to `build-expression->derivation'.•••* guix/derivations.scm (%guile-for-build): Use `nixpkgs-derivation*' instead of `nixpkgs-derivation'. (build-expression->derivation): New `guile-for-build' keyword parameter. Use it. Ludovic Courtès
2012-09-01Add an `env-vars' keyword parameter to `build-expression->derivation'.•••* guix/derivations.scm (build-expression->derivation): New `env-vars' keyword parameter; default to '(). Use it. Ludovic Courtès
2012-09-01build-system/gnu: Add `path-exclusions' parameter.•••* guix/build/gnu-build-system.scm (set-paths): Add new `path-exclusions' parameter; honor it. * guix/build-system/gnu.scm (gnu-build): New `path-exclusions' keyword parameter; pass it to BUILDER. * distro/base.scm (gcc-4.7): Exclude "libc" from $LIBRARY_PATH. Ludovic Courtès
2012-09-01distro: gcc: Allow `libstdc++' to be found.•••* distro/base.scm (gcc-4.7): Add `-rpath' arguments to `LIB_SPEC' to allow `libstdc++' to be found by users. Ludovic Courtès
2012-09-01distro: gcc: Pass #:strip-binaries?.•••* distro/base.scm (gcc-4.7): Pass #:strip-binaries?. Ludovic Courtès
2012-08-31build-system/gnu: Honor the `patch-shebangs?' and `strip-binaries?' parameters.•••* guix/build/gnu-build-system.scm (patch-shebangs): Honor PATCH-SHEBANGS?. (strip): Honor STRIP-BINARIES?. Display a message from `strip-dir'. Ludovic Courtès
2012-08-31guix-build: Fix the "unrecognized option" error message.•••* guix-build.in (guix-build): Show the option name when an unrecognized option is passed. Ludovic Courtès
2012-08-31build-system/gnu: Add a `strip' phase.•••* guix/build/gnu-build-system.scm (strip): New procedure. (%standard-phases): Add it. * guix/build-system/gnu.scm (gnu-build): New `strip-binaries?', `strip-flags', and `strip-directories' keyword parameters. Pass them to BUILDER. Ludovic Courtès
2012-08-30build-system/gnu: Always invoke `configure' with a relative path.•••* guix/build/gnu-build-system.scm (configure): Change SRCDIR to always be a relative path. Ludovic Courtès
2012-08-30distro: gcc: Do not store configure flags in the resulting binaries.•••* distro/base.scm (gcc-4.7): Add a `post-configure' phase to clear `TOPLEVEL_CONFIGURE_ARGUMENTS' in the top-level `Makefile'. Ludovic Courtès
2012-08-30define-record-type*: Add the `inherit' syntactic constructor keyword.•••* guix/utils.scm (define-record-type*)[make-syntactic-constructor]: New `type' parameter. Add the `inherit' keyword and corresponding support code. * tests/utils.scm ("define-record-type* & inherit", "define-record-type* & inherit & letrec* behavior"): New tests. Ludovic Courtès
2012-08-29distro: Add missing Binutils patch.•••* distro/patches/binutils-ld-new-dtags.patch: New file. * Makefile.am (dist_patch_DATA): Add it. Ludovic Courtès
2012-08-28distro: Add the GNU C Library.•••* distro/base.scm (glibc): New variable. Ludovic Courtès
2012-08-28distro: Add Linux headers.•••* distro/base.scm (linux-headers): New variable. Ludovic Courtès
2012-08-27configure.ac: Make 'guild' configure check fatal, otherwise one gets 'compile...Cyprien Nicolas (fulax)
2012-08-25distro: Add GNU Binutils.•••* distro/base.scm (binutils): New variable. Ludovic Courtès
2012-08-25distro: Add GCC.•••* distro/base.scm (gcc-4.7): New variable. Ludovic Courtès
2012-08-25utils: Change `substitute*' to accept a list of files to patch.•••* guix/build/utils.scm (substitute*): Support a list of files as the first argument. Ludovic Courtès
2012-08-23build-system/gnu: Add `out-of-source?' keyword parameter.•••* guix/build/gnu-build-system.scm (configure): Add an `out-of-source?' keyword parameter; build out-of-source-tree when #t. * guix/build-system/gnu.scm (gnu-build): Add `out-of-source?' keyword parameter. Pass it in BUILDER. Ludovic Courtès
2012-08-23packages: Raise an error condition upon invalid input.•••* guix/packages.scm (&package-error, &package-input-error): New condition types. (package-derivation): Raise a `&package-input-error' when no match is made. Ludovic Courtès
2012-08-23distro: coreutils: Remove erroneous hack.•••* distro/base.scm (coreutils)[arguments]: Remove "FORCE_UNSAFE_CONFIGURE" setting, since in fact, this is no problem when using Nix with separate build users. Ludovic Courtès
2012-08-22distro: Add GNU Coreutils.•••* distro/base.scm (coreutils): New variable. Ludovic Courtès
2012-08-22distro: Add XZ.•••* distro/base.scm (xz): New variable. Ludovic Courtès
2012-08-22distro: Add GNU gzip.•••* distro/base.scm (gzip): New variable. Ludovic Courtès
2012-08-22distro: Add GNU Patch.•••* distro/base.scm (patch): New variable. Ludovic Courtès
2012-08-22distro: Add GNU Diffutils.•••* distro/base.scm (diffutils): New variable. Ludovic Courtès
2012-08-22build: Bump version number.•••* configure.ac: Switch to version 0.1. Ludovic Courtès
2012-08-22Add `close-connection'.•••* guix/store.scm (close-connection): New procedure. Ludovic Courtès
2012-08-22distro: Move patches to their own directory.•••* Makefile.am (nobase_dist_guilemodule_DATA): Keep only $(MODULES). (patchdir): New variable. (dist_patch_DATA): New variable. Patch files formerly in $(nobase_dist_guilemodule_DATA). (.scm.go): Define `DISTRO_PATCH_DIRECTORY' and `DISTRO_INSTALLED_PATCH_DIRECTORY'. (TESTS_ENVIRONMENT): Define `DISTRO_PATCH_DIRECTORY'. * distro.scm (%patch-directory): New variable. (search-patch): New procedure. * distro/base.scm: Use `search-patch' instead of `(search-path %load-path ...)'. * distro/findutils-absolute-paths.patch, distro/guile-1.8-cpp-4.5.patch, distro/m4-readlink-EINVAL.patch, distro/m4-s_isdir.patch, distro/make-impure-dirs.patch: Move to `distro/patches'. Ludovic Courtès
2012-08-22distro: Add GNU Findutils.•••* distro/base.scm (findutils): New variable. * distro/findutils-absolute-paths.patch: New file. * Makefile.am (nobase_dist_guilemodule_DATA): Add it. Ludovic Courtès
2012-08-22distro: Add GNU grep.•••* distro/base.scm (grep): New variable. Ludovic Courtès