summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* daemon: Really enable the substituter by default.Ludovic Courtès2013-04-18
| | | | | * nix/nix-daemon/guix-daemon.cc (main): Really enable the substituter by default. Reported by Mark H. Weaver.
* doc: Mention the home page.Ludovic Courtès2013-04-18
| | | | | * doc/guix.texi (Installation): Add a sentence pointing to the home page. Suggested by Arne Babenhauserheide.
* tests: Use a new synopsis of GNU Hello.Nikita Karetnikov2013-04-18
| | | | | * tests/guix-package.sh: Use a new synopsis of GNU Hello, which was added in f50d2669e3e624365221cc81918ba55fdce94107.
* doc: Transparent binary deployment is implemented.Ludovic Courtès2013-04-17
| | | | | * doc/guix.texi (Features): Remove footnote saying that transparent binary deployment is not implemented.
* guix package: Allow the search of the latest release to be interrupted.Ludovic Courtès2013-04-17
| | | | | | * guix/scripts/package.scm (%sigint-prompt): New variable. (call-with-sigint-handler): New procedure. (waiting): Use it.
* build: Add `sync-synopses.scm'.Ludovic Courtès2013-04-17
| | | | | | * build-aux/sync-synopses.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (dist-hook): New target.
* gnu: Use synopses from the Womb.Ludovic Courtès2013-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb.
* ui: Fix format string in `warning'.Ludovic Courtès2013-04-17
| | | | * guix/ui.scm (warning)[augmented-format-string]: Add missing ~*.
* scripts: Report what will be substituted.Ludovic Courtès2013-04-17
| | | | | | | | | | | | | | | | * guix/derivations.scm (derivation-input-output-paths): New procedure. (derivation-prerequisites-to-build): New `use-substitutes?' keyword argument. Change two return the list of substitutable paths as a second argument. * guix/ui.scm (show-what-to-build): Turn `dry-run?' into a keyword argument. New `use-substitutes?' keyword argument. Use `fold2' and adjust to use both return values of `derivation-prerequisites-to-build'. Display what will/would be downloaded. * guix/scripts/build.scm (guix-build): Adjust accordingly. * guix/scripts/package.scm (guix-package): Likewise. * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes"): New test.
* package: allow users to upgrade the whole system by not providing a regexp.Cyril Roelandt2013-04-16
| | | | | | * guix/scripts/packages.scm (guix-package) [process-actions]: When upgrading, use "" when REGEXP is #f. * doc/guix.texi: update the documentation accordingly.
* gnu: Python: bump to version 2.7.4.Cyril Roelandt2013-04-16
| | | | | | | * gnu/packages/python.scm: bump to version 2.7.4, remove references to python-fix-dbm.patch. * Makefile.am: remove references to python-fix-dbm.patch * gnu/packages/patches/python-fix-dbm.patch: remove it.
* substitute-binary: Skip servers that use a different store prefix.Ludovic Courtès2013-04-15
| | | | | * guix/scripts/substitute-binary.scm (fetch-narinfo): Return #f when CACHE uses a store directory different from (%store-prefix).
* substitute-binary: Call `open-cache' only when needed.Ludovic Courtès2013-04-15
| | | | | | * guix/scripts/substitute-binary.scm (lookup-narinfo): Force CACHE when passing it to `fetch-narinfo'. (guix-substitute-binary): Delay calls to `open-cache'.
* substitute-binary: Add a local cache.Ludovic Courtès2013-04-15
| | | | | | | | | | | | * guix/scripts/substitute-binary.scm (%narinfo-cache-directory, %narinfo-ttl, %narinfo-negative-ttl): New variables. (with-atomic-file-output, object->fields, read-narinfo, write-narinfo, narinfo->string, string->narinfo, lookup-narinfo): New procedures. (fetch-narinfo): Adjust to use `read-narinfo'. (guix-substitute-binary): Ensure the existence of %NARINFO-CACHE-DIRECTORY. Use `lookup-narinfo' instead of `fetch-narinfo'.
* gnu: automake: Restore shebangs on files that end up in user tarballs.Ludovic Courtès2013-04-14
| | | | * gnu/packages/autotools.scm (automake): Add `unpatch-shebangs' phase.
* utils: Add `fold2'.Ludovic Courtès2013-04-14
| | | | | | | * gnu/packages.scm (fold2): Remove. * guix/utils.scm (fold2): New procedure. Generalization of the above to one and two lists. * tests/utils.scm ("fold2, 1 list", "fold2, 2 lists"): New tests.
* tests: Remove temporary directory created by nar.scm.Ludovic Courtès2013-04-12
| | | | | * tests/nar.scm ("write-file + restore-file with symlinks"): Add (rm-rf output).
* store: Remove unneeded and conflicting import.Ludovic Courtès2013-04-12
| | | | | | * guix/store.scm: Remove unneeded (ice-9 rdelim) import. In Guile 2.0.9 that module exports `read-string', which conflicts with that of (guix serialization).
* package: Being at the empty profile is not an error.Ludovic Courtès2013-04-12
| | | | | | | * guix/scripts/package.scm (roll-back): Use `format', not `leave' when indicating "already at the empty profile". Fixes a regression introduced in a2011be5dfaf2b94a1d0e3dfbcf4b512389b4711. Reported by Nikita Karetnikov <nikita@karetnikov.org>.
* Update `TODO'.Ludovic Courtès2013-04-12
|
* guix package: Add `--no-substitutes'.Ludovic Courtès2013-04-12
| | | | | | * guix/scripts/package.scm (%default-options): Add `substitutes?'. (show-help, %options): Add and document `--no-substitutes'. (guix-package): Call `set-build-options' to honor `substitutes?'.
* substitute-binary: Implement `--substitute'.Ludovic Courtès2013-04-12
| | | | | | | | | | | | | | | | | | This allows build outputs to be transparently downloaded from http://hydra.gnu.org, for example. * config-daemon.ac: Check for `gzip', `bzip2', and `xz'. * guix/config.scm.in (%gzip, %bzip2, %xz): New variable. * guix/scripts/substitute-binary.scm (fetch): Return SIZE as a second value. (<narinfo>): Change `url' to `uri'. (make-narinfo): Rename to... (narinfo-maker): ... this. Handle relative URLs. (fetch-narinfo): Adjust accordingly. (filtered-port, decompressed-port): New procedures. (guix-substitute-binary): Implement the `--substitute' case. * tests/store.scm ("substitute query"): Use (%store-prefix) instead of (getenv "NIX_STORE_DIR"). ("substitute"): New test.
* substitute-binary: Correctly handle missing narinfos in `--query' mode.Ludovic Courtès2013-04-12
| | | | | * guix/scripts/substitute-binary.scm (guix-substitute-binary)["--query"]("have", "info"): Filter SUBSTITUTABLE through `narinfo?'.
* nar: Add support for symlinks.Ludovic Courtès2013-04-12
| | | | | | | | | | | * guix/nar.scm (write-file): Add case for type `symlink'. (restore-file): Likewise. * tests/nar.scm (random-file-size, make-file-tree, delete-file-tree, with-file-tree, file-tree-equal?, make-random-bytevector, populate-file): New procedures. (%test-dir): New variable. ("write-file + restore-file"): Use `%test-dir' and `file-tree-equal?'. ("write-file + restore-file with symlinks"): New test.
* ui: Add a `warning' macro.Ludovic Courtès2013-04-11
| | | | | | | | | * guix/ui.scm (program-name, guix-warning-port): New variables. (warning): New macro. (guix-main): Parametrize PROGRAM-NAME. * guix/scripts/build.scm, guix/scripts/download.scm, guix/scripts/gc.scm, guix/scripts/package.scm: Adjust to use `leave' and `warning' consistently.
* nar: Implement restoration from Nar.Ludovic Courtès2013-04-08
| | | | | | | | * guix/nar.scm (&nar-error, &nar-read-error): New condition types. (dump): New procedure. (write-contents)[dump]: Remove. Use the one above instead. (read-contents, write-file, restore-file): New procedures. (%archive-version-1): New variable.
* build: Pass the appropriate flags when building `libstore.a'.Ludovic Courtès2013-04-08
| | | | | * daemon.am (libstore_a_CFLAGS): Rename to... (libstore_a_CXXFLAGS): ... this.
* gnu: shishi: Update to 1.0.2.Nikita Karetnikov2013-04-08
| | | | | | * gnu/packages/shishi.scm (shishi): Update to 1.0.2. * gnu/packages/patches/shishi-gets-undeclared.patch: Remove it. * Makefile.am (dist_patch_DATA): Adjust accordingly.
* gnu: Python: fix the compilation of some modules from the standard library.Cyril Roelandt2013-04-07
| | | | | | | | | This commit enables the bz2, dbm, readline, ssl and zlib modules. * gnu/packages/gdbm.scm: Enable the compatibility mode. * gnu/packages/python.scm: Enable a few modules from the standard library. * gnu/packages/patches/python-fix-dbm.patch: New file. * Makefile.am: Add it.
* Add (guix nar) and (guix serialization).Ludovic Courtès2013-04-04
| | | | | | | | | | | * guix/store.scm (write-int, read-int, write-long-long, read-long-long, write-padding, write-string, read-string, read-latin1-string, write-string-list, read-string-list, write-store-path, read-store-path, write-store-path-list, read-store-path-list): Move to serialization.scm. (write-contents, write-file): Move to nar.scm. * guix/nar.scm, guix/serialization.scm: New files. * Makefile.am (MODULES): Add them.
* substitute-binary: Fix communication of several store paths to the daemon.Ludovic Courtès2013-04-04
| | | | | | * guix/scripts/substitute-binary.scm (guix-substitute-binary)["--query"]: Emit blank lines only after the complete list of store paths has been returned.
* Add preliminary binary substituter.Ludovic Courtès2013-04-03
| | | | | | | | | | | | | | | | | | * guix/scripts/substitute-binary.scm: New file. * Makefile.am (MODULES): Add it. * nix/scripts/substitute-binary.in: New file. * config-daemon.ac: Produce nix/scripts/substitute-binary. * daemon.am (nodist_pkglibexec_SCRIPTS): Add nix/scripts/substitute-binary. * guix/store.scm (substitutable-path-info): Use the `query-substitutable-path-infos' RPC. * nix/nix-daemon/guix-daemon.cc (main): Honor `NIX_SUBSTITUTERS'. * pre-inst-env.in: Set `NIX_SUBSTITUTERS'. * test-env.in: Leave `NIX_SUBSTITUTERS' unchanged. Set `GUIX_BINARY_SUBSTITUTE_URL, and create $NIX_STATE_DIR/substituter-data. Run `guix-daemon' within `./pre-inst-env'. * tests/store.scm ("substitute query"): New test.
* gnu: bigloo: Add dependencies on Avahi and libphidget.Ludovic Courtès2013-04-03
| | | | | * gnu/packages/scheme.scm (bigloo): Add Avahi and libphidget as inputs, and pkg-config as a native input.
* gnu: Add libphidget.Ludovic Courtès2013-04-02
| | | | | * gnu/packages/libphidget.scm: New file. * Makefile.am (MODULES): Add it.
* store: Add `store-path-hash-part'.Ludovic Courtès2013-04-01
| | | | | | * guix/store.scm (store-path-hash-part): New procedure. * tests/store.scm ("store-path-hash-part", "store-path-hash-part #f"): New tests.
* gnu-maintenance: Adjust `http-fetch' to the various Guile versions.Ludovic Courtès2013-04-01
| | | | | | * guix/gnu-maintenance.scm (http-fetch): Try #:streaming? #t, or 'http-get*', or 'http-get' as a last resort. Check whether DATA is #f, a string, or an input port.
* pull: Switch to the cgit URL.Ludovic Courtès2013-03-31
| | | | | * guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given that the Hydra one is not currently available.
* gnu: perl-xml-parser: Fix URL.Ludovic Courtès2013-03-31
| | | | * gnu/packages/xml.scm (perl-xml-parser): Fix URL.
* snix: Adjust import to current Nixpkgs input attribute names.Ludovic Courtès2013-03-29
| | | | | * guix/snix.scm (snix-derivation->guix-package): Use the new names `nativeBuildInputs' and `propagatedNativeBuildInputs'.
* gnu-maintenance: Improve 'official-gnu-packages'; add related procedures.Nikita Karetnikov2013-03-28
| | | | | | | | * guix/gnu-maintenance.scm (http-fetch): Return an input port. (<gnu-package-descriptor>): Add it. (official-gnu-packages): Use <gnu-package-descriptor>. (find-packages): Add it. (gnu-package?): Adjust accordingly.
* Add (guix build-system cmake).Cyril Roelandt2013-03-28
| | | | | * guix/build/cmake-build-system.scm, guix/build-system/cmake.scm: New files. * Makefile.am (MODULES): Add them.
* build: Set `%fresh-auto-compile' in `hydra.scm'.Ludovic Courtès2013-03-28
| | | | * hydra.scm: Set `%fresh-auto-compile' to #t.
* gnu: make-bootstrap: Import (gnu packages gcc).Ludovic Courtès2013-03-27
| | | | * gnu/packages/make-bootstrap.scm: Import (gnu packages gcc).
* download: Remove unreliable GNU mirror.Ludovic Courtès2013-03-27
| | | | * guix/download.scm (%mirrors)[gnu]: Remove ftp.chg.ru.
* gnu: Add libelf.Ludovic Courtès2013-03-27
| | | | * gnu/packages/gcc.scm (libelf): New variable.
* gnu: Add ISL and CLooG.Ludovic Courtès2013-03-27
| | | | * gnu/packages/gcc.scm (%gcc-infrastructure, isl, cloog): New variables.
* gnu: Move GCC to its own module.Ludovic Courtès2013-03-27
| | | | | | * gnu/packages/base.scm (gcc-4.7): Move to... * gnu/packages/gcc.scm: ... here. New file. * Makefile.am (MODULES): Add it.
* glib: Patch around prlimit(2) failure.Ludovic Courtès2013-03-27
| | | | | | | | * gnu/packages/glib.scm (glib)[source]: Switch to mirror://gnome. [inputs]: Add `patch/tests-prlimit'. [arguments]: Add it. * gnu/packages/patches/glib-tests-prlimit.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
* build: `hydra.scm' changes %load-path to refer to itself.Ludovic Courtès2013-03-27
| | | | * hydra.scm: Add `eval-when' clause.
* Update `TODO'.Ludovic Courtès2013-03-27
|