Skip to content
Snippets Groups Projects
  1. Jan 10, 2013
  2. Jan 09, 2013
  3. Jan 08, 2013
  4. Jan 06, 2013
  5. Jan 05, 2013
    • Ludovic Courtès's avatar
      Update license headers. · 233e7676
      Ludovic Courtès authored
      Change all license headers, except guix/build/* and ld-wrapper.scm, with
      this code:
      
        (use-modules (guix build utils)
      	       (srfi srfi-1))
      
        (fluid-set! %default-port-encoding "UTF-8")
      
        (substitute* (remove (lambda (f)
      			 (or (string-contains f ".tar.")
      			     (string-contains f ".git/")
      			     (string-contains f ".so")
      			     (string-suffix? ".o" f)
      			     (string-suffix? ".a" f)
      			     (string-suffix? ".go" f)
      			     (string-suffix? ".pdf" f)
      			     (string-suffix? ".png" f)
      			     (string-suffix? ".info" f)
      			     (equal? (basename f) "guix-daemon")
      			     (equal? (basename f) "nix-setuid-helper")
      			     (string-contains f "nix-upstream/")
      			     (string-contains f "distro/packages/bootstrap/")))
      		       (find-files "." "\\.[a-z]+$"))
          (("^([[:graph:]]+) This file is part of Guix." _ comment-start)
           (string-append comment-start " This file is part of GNU Guix."))
          (("^([[:graph:]]+) Guix --- Nix package management.*" _ comment-start)
           (string-append comment-start
      		    " GNU Guix --- Functional package management for GNU\n"))
          (("^([[:graph:]]+) Guix is " _ comment-start)
           (string-append comment-start " GNU Guix is "))
          (("^([[:graph:]]+) along with Guix." _ comment-start)
           (string-append comment-start " along with GNU Guix."))
          (("^([[:graph:]]+) Copyright \\(C\\)" _ comment-start)
           (string-append comment-start " Copyright ©")))
      
      Change headers using C-style comments manually.
      233e7676
    • Ludovic Courtès's avatar
      Add `guix-gc'. · fe8ff028
      Ludovic Courtès authored
      * guix-gc.in, tests/guix-gc.sh: New files.
      * configure.ac: Output `guix-gc', and make it executable.
      * Makefile.am (bin_SCRIPTS): Add `guix-gc'.
        (TESTS): Add `tests/guix-gc.sh'.
      * doc/guix.texi (Features): Add xref to "Invoking guix-gc".
        (Invoking guix-gc): New node.
      * po/POTFILES.in: Add `guix-gc.in'.
      fe8ff028
    • Ludovic Courtès's avatar
      guix-build: Make `--root' effective for .drv files too. · 2646c55b
      Ludovic Courtès authored
      * guix-build.in (guix-build)[register-root]: Change first argument to
        `paths', which should be a list of store paths.  Update caller to call
        `derivation-path->output-paths' on DRV.  When `derivations-only?',
        also register root for .drv files.
      2646c55b
    • Ludovic Courtès's avatar
      derivations: Add `derivation-path->output-paths'. · 7244a5f7
      Ludovic Courtès authored
      * guix/derivations.scm (derivation-path->output-paths): New procedure.
      * tests/derivations.scm ("multiple-output derivation"): Test it.
      7244a5f7
    • Ludovic Courtès's avatar
      Update license headers of builder-side code. · 4155e2a9
      Ludovic Courtès authored
      Change license headers with this script:
      
        (use-modules (guix build utils))
      
        (fluid-set! %default-port-encoding "UTF-8")
      
        (substitute* (cons "distro/packages/ld-wrapper.scm"
      		     (find-files "guix/build" "\\.scm$"))
          (("^([[:graph:]]+) This file is part of Guix." _ comment-start)
           (string-append comment-start " This file is part of GNU Guix."))
          (("^([[:graph:]]+) Guix --- Nix package management.*" _ comment-start)
           (string-append comment-start
      		    " GNU Guix --- Functional package management for GNU\n"))
          (("^([[:graph:]]+) Guix is " _ comment-start)
           (string-append comment-start " GNU Guix is "))
          (("^([[:graph:]]+) along with Guix." _ comment-start)
           (string-append comment-start " along with GNU Guix."))
          (("^([[:graph:]]+) Copyright \\(C\\)" _ comment-start)
           (string-append comment-start " Copyright ©")))
      
      * distro/packages/ld-wrapper.scm, guix/build/download.scm,
        guix/build/gnu-build-system.scm, guix/build/union.scm,
        guix/build/utils.scm: Update license headers.
      4155e2a9
    • Ludovic Courtès's avatar
      utils: Add `which'. · 7584f822
      Ludovic Courtès authored
      * guix/build/utils.scm (which): New procedure.
      
      * distro/packages/lsh.scm (lsh): Use `which' instead of `search-path'.
      * distro/packages/perl.scm (perl): Likewise.
      * distro/packages/attr.scm (attr): Likewise.
      7584f822
    • Ludovic Courtès's avatar
      ui: Factorize bug-report information in `--help'. · 3441e164
      Ludovic Courtès authored
      * guix/config.scm.in (%guix-home-page-url): New variable.
      * guix/ui.scm (show-bug-report-information): New procedure.
      * guix-build.in (show-help): Use it.
      * guix-download.in (show-help): Likewise.
      * guix-import.in (show-help): Likewise.
      * guix-package.in (show-help): Likewise.
      3441e164
    • Ludovic Courtès's avatar
      distro: make-bootstrap: Add `%bootstrap-tarballs' package. · 312543dc
      Ludovic Courtès authored
      * distro/packages/make-bootstrap.scm (%bootstrap-tarballs): New
        variable.
      312543dc
    • Ludovic Courtès's avatar
      distro: make-bootstrap: Build glibc without nscd, and with static NSS modules. · d3b59727
      Ludovic Courtès authored
      * distro/packages/make-bootstrap.scm (%glibc-with-relocatable-system):
        Rename to...
        (%glibc-for-bootstrap): ... this.  Add new configure flags.
      d3b59727
  6. Jan 04, 2013
  7. Jan 02, 2013
  8. Jan 01, 2013
    • Ludovic Courtès's avatar
      distro: glibc: Build the statically-linked Bash embedded in glibc. · 46866fad
      Ludovic Courtès authored
      * distro/packages/base.scm (glibc): Expect "static-bash" to be a
        directory, not a single file.  Call `remove-store-references' on the
        "bash" binary that is copied.  Add an `sh' -> `bash' symlink.  Change
        the "static-bash" input to (static-package bash-light).
        (glibc-final): Rename to...
        (glibc-final-with-bootstrap-bash): ... this.  Change `name' to
        "glibc-intermediate".  Remove #:patch-shebangs? setting.
        (cross-gcc-wrapper): New procedure, with code formerly in
        GCC-BOOT0-WRAPPED.
        (gcc-boot0-wrapped): Use it.
        (static-bash-for-glibc): New variable.
        (glibc-final): Inherit from GLIBC-FINAL-WITH-BOOTSTRAP-BASH, and use
        STATIC-BASH-FOR-GLIBC as the "static-bash" input.
      46866fad
    • Ludovic Courtès's avatar
      distro: glibc: Fix contradicting settings of `BASH_SHELL'. · 8cd8e97c
      Ludovic Courtès authored
      * distro/packages/base.scm (glibc-final): Remove `ac_cv_path_BASH_SHELL'
        setting.
        (glibc): Set `BASH_SHELL' instead of `ac_cv_path_BASH_SHELL'.
      8cd8e97c
Loading