summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* distro: recutils: Allow builds with glibc 2.16+.Ludovic Courtès2012-09-02
| | | | * distro/base.scm (recutils): Apply. `diffutils-gets-undeclared.patch'.
* distro: glibc: Propagate Linux headers.Ludovic Courtès2012-09-02
| | | | | * distro/base.scm (glibc): Move LINUX-HEADERS from `native-inputs' to `propagated-inputs'. Remove unnecessary `_' in /bin/pwd substitution.
* distro: diffutils: Allow builds with glibc 2.16+.Ludovic Courtès2012-09-02
| | | | | | | * distro/patches/diffutils-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it. * distro/base.scm (diffutils): Apply. `diffutils-gets-undeclared.patch'.
* distro: tar: Allow builds with glibc 2.16+.Ludovic Courtès2012-09-02
| | | | | | | * distro/patches/tar-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it. * distro/base.scm (tar): Apply. `tar-gets-undeclared.patch'.
* packages: Add a printer for <package>.Ludovic Courtès2012-09-02
| | | | * guix/packages.scm (<package>): Add record printer.
* Optimize `write-derivation' and `derivation-path->output-path'.Ludovic Courtès2012-09-02
| | | | | | * guix/derivations.scm (write-derivation): Explicitly use `simple-format'. (derivation-path->output-path): Memoize.
* Optimize `store-path?'.Ludovic Courtès2012-09-01
| | | | | * guix/store.scm (store-path?): Check with `string-prefix?' instead of a regexp.
* build-system/gnu: Really apply patches.Ludovic Courtès2012-09-01
| | | | | * guix/build/gnu-build-system.scm (patch): Use `--input FILE', not just `FILE'.
* utils: Change `substitute*' to allow iteration over several matches.Ludovic Courtès2012-09-01
| | | | | | | | | | | | | | * 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.
* distro: m4: Add patch to allow builds with glibc 2.16+.Ludovic Courtès2012-09-01
| | | | | | | * distro/base.scm (m4): Use `m4-gets-undeclared.patch'. * distro/patches/m4-gets-undeclared.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
* Add a `guile-for-build' parameter to `build-expression->derivation'.Ludovic Courtès2012-09-01
| | | | | | | * guix/derivations.scm (%guile-for-build): Use `nixpkgs-derivation*' instead of `nixpkgs-derivation'. (build-expression->derivation): New `guile-for-build' keyword parameter. Use it.
* Add an `env-vars' keyword parameter to `build-expression->derivation'.Ludovic Courtès2012-09-01
| | | | | * guix/derivations.scm (build-expression->derivation): New `env-vars' keyword parameter; default to '(). Use it.
* build-system/gnu: Add `path-exclusions' parameter.Ludovic Courtès2012-09-01
| | | | | | | | | * 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.
* distro: gcc: Allow `libstdc++' to be found.Ludovic Courtès2012-09-01
| | | | | * distro/base.scm (gcc-4.7): Add `-rpath' arguments to `LIB_SPEC' to allow `libstdc++' to be found by users.
* distro: gcc: Pass #:strip-binaries?.Ludovic Courtès2012-09-01
| | | | * distro/base.scm (gcc-4.7): Pass #:strip-binaries?.
* build-system/gnu: Honor the `patch-shebangs?' and `strip-binaries?' parameters.Ludovic Courtès2012-08-31
| | | | | | * guix/build/gnu-build-system.scm (patch-shebangs): Honor PATCH-SHEBANGS?. (strip): Honor STRIP-BINARIES?. Display a message from `strip-dir'.
* guix-build: Fix the "unrecognized option" error message.Ludovic Courtès2012-08-31
| | | | | * guix-build.in (guix-build): Show the option name when an unrecognized option is passed.
* build-system/gnu: Add a `strip' phase.Ludovic Courtès2012-08-31
| | | | | | | | | * 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.
* build-system/gnu: Always invoke `configure' with a relative path.Ludovic Courtès2012-08-30
| | | | | * guix/build/gnu-build-system.scm (configure): Change SRCDIR to always be a relative path.
* distro: gcc: Do not store configure flags in the resulting binaries.Ludovic Courtès2012-08-30
| | | | | * distro/base.scm (gcc-4.7): Add a `post-configure' phase to clear `TOPLEVEL_CONFIGURE_ARGUMENTS' in the top-level `Makefile'.
* define-record-type*: Add the `inherit' syntactic constructor keyword.Ludovic Courtès2012-08-30
| | | | | | | | | * 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.
* distro: Add missing Binutils patch.Ludovic Courtès2012-08-29
| | | | | * distro/patches/binutils-ld-new-dtags.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
* distro: Add the GNU C Library.Ludovic Courtès2012-08-28
| | | | * distro/base.scm (glibc): New variable.
* distro: Add Linux headers.Ludovic Courtès2012-08-28
| | | | * distro/base.scm (linux-headers): New variable.
* configure.ac: Make 'guild' configure check fatal, otherwise one gets ↵Cyprien Nicolas (fulax)2012-08-27
| | | | 'compile: command not found' during make
* distro: Add GNU Binutils.Ludovic Courtès2012-08-25
| | | | * distro/base.scm (binutils): New variable.
* distro: Add GCC.Ludovic Courtès2012-08-25
| | | | * distro/base.scm (gcc-4.7): New variable.
* utils: Change `substitute*' to accept a list of files to patch.Ludovic Courtès2012-08-25
| | | | | * guix/build/utils.scm (substitute*): Support a list of files as the first argument.
* build-system/gnu: Add `out-of-source?' keyword parameter.Ludovic Courtès2012-08-23
| | | | | | | * 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.
* packages: Raise an error condition upon invalid input.Ludovic Courtès2012-08-23
| | | | | | | * guix/packages.scm (&package-error, &package-input-error): New condition types. (package-derivation): Raise a `&package-input-error' when no match is made.
* distro: coreutils: Remove erroneous hack.Ludovic Courtès2012-08-23
| | | | | | * distro/base.scm (coreutils)[arguments]: Remove "FORCE_UNSAFE_CONFIGURE" setting, since in fact, this is no problem when using Nix with separate build users.
* distro: Add GNU Coreutils.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (coreutils): New variable.
* distro: Add XZ.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (xz): New variable.
* distro: Add GNU gzip.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (gzip): New variable.
* distro: Add GNU Patch.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (patch): New variable.
* distro: Add GNU Diffutils.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (diffutils): New variable.
* build: Bump version number.Ludovic Courtès2012-08-22
| | | | * configure.ac: Switch to version 0.1.
* Add `close-connection'.Ludovic Courtès2012-08-22
| | | | * guix/store.scm (close-connection): New procedure.
* distro: Move patches to their own directory.Ludovic Courtès2012-08-22
| | | | | | | | | | | | | | | | | | | * 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'.
* distro: Add GNU Findutils.Ludovic Courtès2012-08-22
| | | | | | * distro/base.scm (findutils): New variable. * distro/findutils-absolute-paths.patch: New file. * Makefile.am (nobase_dist_guilemodule_DATA): Add it.
* distro: Add GNU grep.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (grep): New variable.
* distro: Add GNU tar.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (tar): New variable.
* distro: Add GNU sed.Ludovic Courtès2012-08-22
| | | | * distro/base.scm (sed): New variable.
* distro: Add GNU Bash.Ludovic Courtès2012-08-21
| | | | * distro/base.scm (bash): New variable.
* distro: Add GNU Make.Ludovic Courtès2012-08-21
| | | | | | * distro/base.scm (gnu-make): New variable. * distro/make-impure-dirs.patch: New file. * Makefile.am (nobase_dist_guilemodule_DATA): Add it.
* build-system/gnu: Augment $PATH with $out for `patch-shebangs'.Ludovic Courtès2012-08-19
| | | | | * guix/build/gnu-build-system.scm (patch-shebangs): Add BINDIRS to $PATH, and pass that to `patch-shebang'.
* utils: Add a `path' argument to `patch-shebang'.Ludovic Courtès2012-08-19
| | | | | | * guix/build/utils.scm (patch-shebang): Add an optional `path' parameter. Change SHEBANG-RX to match the whole interpreter file name. Don't patch when BIN and CMD are the same. Add docstring.
* distro: gmp: Fix typo in URL.Ludovic Courtès2012-08-19
| | | | * distro/base.scm (gmp): Fix URL.
* build-system/gnu: Add a `patch-shebangs' phase.Ludovic Courtès2012-08-19
| | | | | | | | * guix/build/gnu-build-system.scm (patch-shebangs): New procedure. (%standard-phases): Add it. * guix/build-system/gnu.scm (gnu-build): New `patch-shebangs?' keyword parameter. Pass it to the builder's `gnu-build'.
* utils: Add `patch-shebang'.Ludovic Courtès2012-08-19
| | | | | * guix/build/utils.scm (search-path-as-string->list): New procedure. (dump-port, patch-shebang): New procedures.