summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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.
* distro: lout: Comment out dependency on Ghostscript.Ludovic Courtès2012-12-13
| | | | | * distro/packages/lout.scm (lout): Temporarily comment out dependency on Ghostscript as this was causing evaluation errors on Hydra.
* Merge branch 'nix-integration'Ludovic Courtès2012-12-13
|\ | | | | | | | | Conflicts: tests/guix-package.sh
| * release.nix: Add `build_disable_daemon'.Ludovic Courtès2012-12-13
| | | | | | | | * release.nix (build_disable_daemon): New job.
| * release.nix: build: Allow builds within a chroot.Ludovic Courtès2012-12-13
| | | | | | | | * release.nix (build): Remove `__noChroot' and `preConfigure'.
| * tests: Skip network-dependent tests when the network is unreachable.Ludovic Courtès2012-12-13
| | | | | | | | | | | | | | | | | | | | | | | | * tests/builders.scm (network-reachable?): New variable. ("url-fetch", "gnu-build"): Skip unless NETWORK-REACHABLE?. * tests/derivations.scm (%coreutils): Check for network access. ("build-expression->derivation with one input"): Skip when %COREUTILS is #f. * tests/guix-package.sh: Skip installation of GNU Make when the network is unreachable. * tests/packages.scm ("GNU Make, bootstrap"): Likewise. * tests/union.scm ("union-build"): Likewise.
| * release.nix: Build the daemon.Ludovic Courtès2012-12-13
| | | | | | | | | | | | * release.nix (tarball): Add `preAutoconf'. Augment `buildInputs' and `configureFlags' to allow daemon builds. (build): Likewise.
| * build: Make `--enable-daemon' the default.Ludovic Courtès2012-12-13
| | | | | | | | * configure.ac: Have $guix_build_daemon default to "yes".
| * build: When `--enable-daemon', don't error out when Nix programs are missing.Ludovic Courtès2012-12-13
| | | | | | | | | | | | | | * config-daemon.ac: Move AC_ARG_ENABLE([daemon]...)... * configure.ac: ... here. When Nix programs are not found, error out only when $guix_build_daemon is no.
| * tests: Arrange to have the socket file name fit in `sun_path'.Ludovic Courtès2012-12-13
| | | | | | | | * test-env.in (NIX_STATE_DIR): Choose a slightly smaller directory name.
| * tests: base32: Work around `system*' bug.Ludovic Courtès2012-12-13
| | | | | | | | | | | | * tests/base32.scm (%nix-hash): When `getenv' returns the empty string, ignore it. (%have-nix-hash?): New variable. Update `test-skip' clause to use it.
| * daemon: Use `openssl' from $PATH.Ludovic Courtès2012-12-12
| | | | | | | | | | * daemon.am (-DOPENSSL_PATH): Default to "openssl". * TODO: Mention removal of OpenSSL dependency.
| * Merge branch 'master' into nix-integrationLudovic Courtès2012-12-09
| |\ | | | | | | | | | | | | Conflicts: guix/store.scm