aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* derivations: Fix `derivation-prerequisites-to-build' when outputs are there.Ludovic Courtès2013-01-09
| | | | | | | | | | | Before it would list inputs not built, even if the outputs of the given derivation were already available. * guix/derivations.scm (derivation-prerequisites-to-build): Add `outputs' keyword parameter. [built?, derivation-built?]: New procedures. [loop]: Add `sub-drvs' parameter. Use `derivation-built?' to check if the SUB-DRVS of DRV are built before checking its inputs.
* gnu-maintenance: Add `latest-release' and related tools.Ludovic Courtès2013-01-08
| | | | | | | * guix/gnu-maintenance.scm (ftp-server/directory, releases, version-string>?, latest-release, gnu-package-name->name+version): New procedures. (%package-name-rx): New variable.
* guix-package: Use `guile-final', not `guile-2.0' to build the environment.Ludovic Courtès2013-01-08
| | | | | * guix-package.in (guix-package): Use either %BOOTSTRAP-GUILE or GUILE-FINAL.
* guix-package: Be verbose when Guile itself needs to be built.Ludovic Courtès2013-01-08
| | | | | | * guix-package.in (guix-package)[guile-missing?]: New procedure. (guix-package): Always redirect `current-build-output-port' to `current-error-port' when (guile-missing?).
* guix-package: Remove `-b' shorthand for `--bootstrap'.Ludovic Courtès2013-01-07
| | | | | | | * guix-package.in (%options): Remove #\b as an alternate for "bootstrap". (show-help): Adjust accordingly. * tests/guix-package.sh: Use `--bootstrap' instead of `-b'.
* snix: Update `license' check in unit test.Ludovic Courtès2013-01-07
| | | | | * tests/snix.scm ("nixpkgs->guix-package"): Expect `license' to be a symbol. This is a follow-up to commit e7aa73e.
* snix: Use (guix licenses) variables.Ludovic Courtès2013-01-07
| | | | | | * guix/snix.scm (snix-derivation->guix-package)[license-variable]: New procedure. Use it to determine the variable name for the license.
* snix: Gracefully handle `null' in Nix build inputs.Ludovic Courtès2013-01-07
| | | | | * guix/snix.scm (snix-derivation->guix-package)[convert-inputs]: Gracefully handle `null' as an input.
* distro: Add GNU Aspell.Ludovic Courtès2013-01-07
| | | | | * distro/packages/aspell.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GSL.Ludovic Courtès2013-01-07
| | | | * distro/packages/algebra.scm (gsl): New variable.
* distro: Add GNU GLOBAL.Ludovic Courtès2013-01-07
| | | | | * distro/packages/global.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add Tcl, Expect, and DejaGNU.Ludovic Courtès2013-01-07
| | | | | * distro/packages/dejagnu.scm, distro/packages/tcl.scm: New files. * Makefile.am (MODULES): Add them.
* Update license headers.Ludovic Courtès2013-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add `guix-gc'.Ludovic Courtès2013-01-06
| | | | | | | | | | * 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'.
* guix-build: Make `--root' effective for .drv files too.Ludovic Courtès2013-01-06
| | | | | | | * 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.
* derivations: Add `derivation-path->output-paths'.Ludovic Courtès2013-01-05
| | | | | * guix/derivations.scm (derivation-path->output-paths): New procedure. * tests/derivations.scm ("multiple-output derivation"): Test it.
* ui: Factorize bug-report information in `--help'.Ludovic Courtès2013-01-05
| | | | | | | | | * 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.
* daemon: Show the chroot contents upon `--debug'.Ludovic Courtès2013-01-02
| | | | | * nix/nix-daemon/guix-daemon.cc (main)[HAVE_CHROOT]: Display the contents of `settings.dirsInChroot' at `lvlDebug'.
* distro: Add Berkeley DB.Andreas Enge2013-01-02
| | | | | * distro/packages/bdb.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add MIT Kerberos 5.Andreas Enge2013-01-02
| | | | | * distro/packages/mit-krb5.scm: New file. * Makefile.am (MODULES): Add it.
* daemon: Properly initialize libgcrypt.Ludovic Courtès2013-01-02
| | | | * nix/nix-daemon/guix-daemon.cc (main): Call `gcry_check_version'.
* build: Avoid error message during `make clean' when `test-tmp' doesn't exist.Ludovic Courtès2012-12-31
| | | | | * daemon.am (clean-local): Check whether $(GUIX_TEST_ROOT) exists before running `find'.
* distro: Add Libntlm, GNU GSS and GNU SASL.Andreas Enge2012-12-30
| | | | | * distro/packages/gsasl.scm: New file. * Makefile.am (MODULES): Add it.
* distro: automake: Update to 1.12.6.Andreas Enge2012-12-30
| | | | * distro/packages/autotools.scm (automake): Update to 1.12.6.
* distro: Add GNU Libidn.Andreas Enge2012-12-30
| | | | | * distro/packages/libidn.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Update libtasn1 and gnutls.Andreas Enge2012-12-30
| | | | * distro/packages/gnutls.scm: Update libtasn1 and gnutls.
* distro: Add GNU idutils.Ludovic Courtès2012-12-21
| | | | | * distro/packages/idutils.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add rsync.Andreas Enge2012-12-21
| | | | | * distro/packages/rsync.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add mpfrcx and fplll.Andreas Enge2012-12-20
| | | | | * distro/packages/algebra.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add Usbutils.Nikita Karetnikov2012-12-18
| | | | * distro/packages/linux.scm (usbutils): New variable.
* distro: Add Libusb.Nikita Karetnikov2012-12-18
| | | | | * distro/packages/libusb.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add Check.Nikita Karetnikov2012-12-17
| | | | | * distro/packages/check.scm: New file. * Makefile.am (MODULES): Add it.
* download: Remove unreachable SourceForge mirror.Ludovic Courtès2012-12-17
| | | | | * guix/download.scm (%mirrors)[sourceforge]: Remove kent.dl.*, which is unreachable.
* download: Correctly detect "No route to host" conditions.Ludovic Courtès2012-12-17
| | | | | | | | * guix/build/download.scm (open-connection-for-uri): Delete addrinfos with the same address. Always open SOCK_STREAM/IPPROTO_IP sockets. Fix the error handler's condition to determine what to do. Reported by Nikita Karetnikov <nikita.karetnikov@gmail.com> at <http://lists.gnu.org/archive/html/bug-guix/2012-12/msg00150.html>.
* daemon: Gracefully handle Nix errors.Ludovic Courtès2012-12-16
| | | | | * nix/nix-daemon/guix-daemon.cc (main): Run Nix code in an exception handler; gracefully print error messages, and exit with EXIT_FAILURE.
* daemon: Warn against running as root without `--build-users-group'.Ludovic Courtès2012-12-16
| | | | | | * nix/nix-daemon/guix-daemon.cc (main): Recommend using `--build-users-group' when running as root without a build users group.
* daemon: Add `--chroot-directory'.Ludovic Courtès2012-12-16
| | | | | | * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_CHROOT_DIR): New macro. (options): Add `--chroot-directory'. (parse_opt): Handle it.
* guix-build: Add `--verbosity'.Ludovic Courtès2012-12-15
| | | | | | | | * guix-build.in (%default-options): Add `verbosity'. (%options): Add `--verbosity'. (guix-build): Pass it to `set-build-options'. (show-help): Update accordingly. * doc/guix.texi (Invoking guix-build): Document `--verbosity'.
* daemon: Add `--debug' option.Ludovic Courtès2012-12-15
| | | | | | * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_DEBUG): New macro. (options): Add `--debug'. (parse_opt): Set `verbosity' upon GUIX_OPT_DEBUG.
* daemon: Disable use of substitutes for now.Ludovic Courtès2012-12-14
| | | | | * nix/nix-daemon/guix-daemon.cc (main): Set `settings.useSubstitutes' to false, and `settings.substituters' to the empty list.
* distro: Use (guix licenses) instead of strings.Nikita Karetnikov2012-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | * distro/packages/acl.scm, distro/packages/attr.scm, distro/packages/autotools.scm, distro/packages/base.scm, distro/packages/bash.scm, distro/packages/bdw-gc.scm, distro/packages/bison.scm, distro/packages/bootstrap.scm, distro/packages/compression.scm, distro/packages/cpio.scm, distro/packages/ddrescue.scm, distro/packages/ed.scm, distro/packages/flex.scm, distro/packages/gawk.scm, distro/packages/gdbm.scm, distro/packages/gettext.scm, distro/packages/gnupg.scm, distro/packages/gnutls.scm, distro/packages/gperf.scm, distro/packages/guile.scm, distro/packages/help2man.scm, distro/packages/less.scm, distro/packages/libffi.scm, distro/packages/libsigsegv.scm, distro/packages/libunistring.scm, distro/packages/linux.scm, distro/packages/lout.scm, distro/packages/lsh.scm, distro/packages/m4.scm, distro/packages/multiprecision.scm, distro/packages/nano.scm, distro/packages/ncurses.scm, distro/packages/nettle.scm, distro/packages/perl.scm, distro/packages/pkg-config.scm, distro/packages/pth.scm, distro/packages/readline.scm, distro/packages/recutils.scm, distro/packages/shishi.scm, distro/packages/system.scm, distro/packages/texinfo.scm, distro/packages/time.scm, distro/packages/wget.scm, distro/packages/which.scm, distro/packages/zile.scm: Use (guix licenses).
* build: Avoid brace expansion in `nix/sync-with-upstream'.Andreas Enge2012-12-14
| | | | * nix/sync-with-upstream: Avoid brace expansion, for the sake of Dash.
* daemon: Build `nix-setuid-helper'.Ludovic Courtès2012-12-14
| | | | | | | * daemon.am (libexec_PROGRAMS, nix_setuid_helper_SOURCES, nix_setuid_helper_CPPFLAGS, nix_setuid_helper_LDADD): New variables. * test-env.in: Set and export `NIX_SETUID_HELPER'. * README (Installing Guix as non-root): New section.
* download: Work around (web client) bug <http://bugs.gnu.org/13095>.Ludovic Courtès2012-12-14
| | | | * guix/build/download.scm: Annihilate `shutdown' in (web client).
* release.nix: Remove trailing "/nix" from localstatedir.Ludovic Courtès2012-12-14
| | | | | * release.nix (tarball, build): Use /nix/var as localstatedir, as a follow-up to 7f4f065.
* build: Fix default value of `%state-directory'.Ludovic Courtès2012-12-13
| | | | | * guix/config.scm.in (%state-directory): Append `/nix'. Reported by Andreas Enge <andreas@enge.fr>.
* build: Have `bootstrap' run all the necessary steps.Ludovic Courtès2012-12-13
| | | | | | * bootstrap: Always run "git submodule init". Run `nix/sync-with-upstream'. Reported by Nikita Karetnikov and Andreas Enge.
* guix-package: Avoid use of the `guix' sub-directory for profiles.Ludovic Courtès2012-12-13
| | | | * guix-package.in (%current-profile): Change to `guix-profile'.
* release.nix: tarball: Fix typo.Ludovic Courtès2012-12-13
| | | | * release.nix (tarball): Replace "gnulib" by "nix".
* guix-package: Use directory names from (guix config).Ludovic Courtès2012-12-13
| | | | | * guix-package.in (%profile-directory): Use %STATE-DIRECTORY instead of a hard-coded directory.