summaryrefslogtreecommitdiff
path: root/guix
Commit message (Collapse)AuthorAge
* package: Display the output of packages to be installed/removed.Ludovic Courtès2013-05-08
| | | | | * guix/scripts/package.scm (guix-package)[show-what-to-remove/install]: Display the output name.
* package: Preserve the installed package output when upgrading.Ludovic Courtès2013-05-08
| | | | | | | * guix/scripts/package.scm (guix-package)[find-package]: Add optional parameter `output'. Use it. [process-actions]: When computing UPGRADE, pass OUTPUT to `find-package'.
* ui: Capitalize informative messages.Ludovic Courtès2013-05-07
| | | | | * guix/ui.scm (show-what-to-build): Capitalize user messages, as per the GCS (info "(standards) Errors").
* package: Fix spacing in user messages.Ludovic Courtès2013-05-07
| | | | * guix/scripts/package.scm (guix-package)[process-actions]: Fix spacing.
* refresh: Change default to not update source files.Ludovic Courtès2013-05-06
| | | | | | * guix/scripts/refresh.scm (%options): Change `--dry-run' to `--update'. (show-help): Adjust accordingly. (guix-refresh): Likewise.
* Merge branch 'core-updates'Ludovic Courtès2013-04-30
|\
| * utils: Adjust 'wrap-program'.Nikita Karetnikov2013-04-30
| | | | | | | | | | | | | | | | * guix/build/utils.scm (wrap-program): Fix computation of PROG-REAL and PROG-TMP when PROG is an absolute file name. Add "$@" in the generated script, and quote PROG-REAL. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * build-system/gnu: Fix default name for the "doc" output directory.Ludovic Courtès2013-04-28
| | | | | | | | | | * guix/build/gnu-build-system.scm (configure)[package-name]: Drop the prefix corresponding to the hash part of OUT.
| * guix package: Add `--search-paths' & co.Ludovic Courtès2013-04-28
| | | | | | | | | | | | | | | | | | * guix/scripts/package.scm (search-path-environment-variables, display-search-paths): New procedures. (show-help, %options): Add `--search-paths'. (guix-package)[process-actions]: Call `display-search-paths' once the profile is ready. [process-query]: Honor `search-paths'.
| * utils: Add `string-tokenize*'.Ludovic Courtès2013-04-28
| | | | | | | | | | * guix/utils.scm (string-tokenize*): New procedure. * tests/utils.scm ("string-tokenize*"): New test.
| * Merge branch 'master' into core-updatesLudovic Courtès2013-04-26
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am gnu/packages/autotools.scm gnu/packages/guile.scm gnu/packages/python.scm gnu/packages/shishi.scm guix/gnu-maintenance.scm guix/scripts/build.scm guix/scripts/gc.scm guix/scripts/package.scm guix/scripts/substitute-binary.scm guix/ui.scm nix/nix-daemon/guix-daemon.cc test-env.in tests/nar.scm tests/store.scm
| * | build-system/{perl,cmake}: Keep the standard search paths of gnu-build-system.Ludovic Courtès2013-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Andreas Enge <andreas@enge.fr>. * guix/build-system/gnu.scm (standard-search-paths): New procedure. (gnu-build): Use it. * guix/build-system/perl.scm (perl-build): Append (standard-search-paths) to the search paths of PERL. * guix/build-system/cmake.scm (cmake-build): Append (standard-search-paths) to SEARCH-PATHS.
| * | 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>.
| * | 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-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-12
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | Add (guix nar) and (guix serialization).Ludovic Courtès2013-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-12
| | | | | | | | | | | | | | | | | | * 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-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * | store: Add `store-path-hash-part'.Ludovic Courtès2013-04-12
| | | | | | | | | | | | | | | | | | * 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-12
| | | | | | | | | | | | | | | | | | * 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-04-12
| | | | | | | | | | | | | | | * guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given that the Hydra one is not currently available.
| * | build-system/gnu: Fix search path computation with implicit inputs.Ludovic Courtès2013-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Andreas Enge <andreas@enge.fr>. * guix/build-system/gnu.scm (standard-packages): New procedure. (standard-inputs): Use it instead of resolving things locally. (gnu-build)[implicit-search-paths]: Map over (standard-packages), not over STANDARD-INPUTS.
| * | Merge branch 'xorg' into core-updatesAndreas Enge2013-04-04
| |\ \
| | * | gnu: xorg: Fix http mirror and uncomment xcb packages.Andreas Enge2013-03-06
| | | | | | | | | | | | | | | | | | | | | | | | * guix/download.scm (%mirrors): Fix main http mirror address. * gnu/packages/xorg.scm (libpthread-stubs, libxcb, xcb-proto): Uncomment and add licenses.
| * | | packages: Add `native-search-paths' field and honor it.Ludovic Courtès2013-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (<search-path-specification>): New record type. (search-path-specification->sexp): New procedure. (<package>)[native-search-paths]: New field. (package-derivation): Accumulate the search paths, and pass them as #:search-paths toe BUILDER. * guix/build-system/gnu.scm (gnu-build): Add #:search-paths. Compute `implicit-search-paths'. Pass #:search-paths in BUILDER. * guix/build-system/perl.scm (perl-build): Add #:search-paths, pass it to BUILDER with the search paths of PERL. * guix/build-system/cmake.scm (cmake-build): Add #:search-paths, pass it to BUILDER. * guix/build-system/trivial.scm (trivial-build): Add #:search-paths, ignore it. * guix/build/gnu-build-system.scm (set-paths): Add #:search-paths. Remove explicit settings of CPATH, LIBRARY_PATH, and PKG_CONFIG_PATH. Instead, walk SEARCH-PATHS and call `set-path-environment-variable' for them. * guix/build/perl-build-system.scm (perl-build): Remove PERL5LIB setting. * tests/packages.scm ("search paths"): New test. * gnu/packages/bootstrap.scm (%bootstrap-guile)[raw]: Add #:search-paths. (%bootstrap-gcc): Add `native-search-paths' field. * gnu/packages/perl.scm (perl): Likewise. * gnu/packages/pkg-config.scm (pkg-config): Likewise. * gnu/packages/glib.scm (intltool): Remove `arguments'. * gnu/packages/avahi.scm (avahi): Remove #:phases.
| * | | build-system/gnu: Remove #:path-exclusions parameter.Ludovic Courtès2013-03-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Remove `path-exclusions' parameter. Replace `relevant-input-directories' by `input-directories'. * guix/build-system/gnu.scm (gnu-build): Remove `path-exclusions' parameter; don't pass it in BUILDER. * guix/build-system/cmake.scm (cmake-build): Likewise.
| * | | Merge branch 'master' into core-updatesLudovic Courtès2013-03-29
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am gnu/packages/base.scm
| * | | | utils: Add 'wrap-program'.Nikita Karetnikov2013-03-07
| | |/ / | |/| | | | | | | | | | * guix/build/utils.scm (wrap-program): New procedure.
| * | | utils: Add a #:follow-symlinks? parameter to `copy-recursively'.Ludovic Courtès2013-03-05
| | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (copy-recursively): Turn `log' into a keyword parameter. Add the `follow-symlinks?' parameter and honor it.
| * | | utils: Add `delete-file-recursively'.Ludovic Courtès2013-03-05
| | | | | | | | | | | | | | | | * guix/build/utils.scm (delete-file-recursively): New procedure.
| * | | Merge branch 'master' into core-updatesLudovic Courtès2013-03-04
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.am guix/scripts/gc.scm guix/scripts/package.scm guix/ui.scm tests/guix-package.sh
| * | | | guix: build: Add "share/pkgconfig" to PKG_CONFIG_PATH, as used by xorg.Andreas Enge2013-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (set-paths): Add "share/pkgconfig" to PKG_CONFIG_PATH.
| * | | | pull: Distinguish "already up to date" from "updated".Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/ui.scm (show-what-to-build): Return (length req*). * guix/scripts/pull.scm (guix-pull): Print an "already up to date" message when there's nothing to build.
| * | | | pull: Build (guix build download) first, because of the (gnutls) autoload.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm (unpack): Build (guix build download) first, as done in 855a8ad71def2ebc594ed32c57bda0ca4e13d91c. Reported by Andreas Enge <andreas@enge.fr>.
| * | | | Add "guix pull".Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/pull.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi (Invoking guix pull): New node. (Invoking guix package): Add cross-ref to it. * guix/ui.scm (config-directory): New procedure. * scripts/guix.in: When `GUIX_UNINSTALLED' is undefined, add $XDG_CONFIG_HOME/guix/latest to the search path. * po/POTFILES.in: Add guix/scripts/pull.scm.
| * | | | ui: Factorize `show-what-to-build'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/package.scm (guix-package)[show-what-to-build]: Move to.. * guix/ui.scm (show-what-to-build): ... here. Add a `store' parameter'. Adjust callers. * guix/scripts/build.scm (guix-build): Use it. Remove `req' and `req*' variables.
| * | | | ui: Add temporary file handling and atomic symlink switch.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/download.scm (call-with-temporary-output-file): Move to ui.scm. * guix/scripts/package.scm (switch-symlinks): Likewise. * guix/ui.scm (call-with-temporary-output-file, switch-symlinks): New procedures.
| * | | | download: Adjust to `http-get*' deprecation.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/download.scm (http-fetch): Adjust to use #:streaming? when using Guile 2.0.8+.
| * | | | derivations: Add a search path parameter for module derivations.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/derivations.scm (imported-modules, compiled-modules): Add a `module-path' parameter. Use it instead of %LOAD-PATH.
| * | | | store: Add the `%daemon-socket-file' parameter.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/store.scm (%daemon-socket-file): New variable. (open-connection): Use it as the default value for FILE.
| * | | | scripts: Remove hyphen in the command name shown by `--version'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/build.scm (%options): Remove hyphen from the name passed to `show-version-and-exit'. * guix/scripts/download.scm (%options): Likewise. * guix/scripts/gc.scm (%options): Likewise. * guix/scripts/import.scm (%options): Likewise. * guix/scripts/package.scm (%options): Likewise.
| * | | | scripts: Remove initialization now redundant with `initialize-guix'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/scripts/build.scm (guix-build): Remove calls to `install-locale', `textdomain', etc., now redundant with `initialize-guix'. * guix/scripts/download.scm (guix-download): Likewise. * guix/scripts/import.scm (guix-import): Likewise. * guix/scripts/package.scm (guix-package): Likewise. * guix/ui.scm: Remove export of `install-locale' and `initialize-guix'. (initialize-guix): Add docstring.
| * | | | Replace individual scripts with master 'guix' script.Mark H Weaver2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/guix.in: New script. * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm', 'guix/scripts/import.scm', 'guix/scripts/package.scm', and 'guix/scripts/gc.scm'. * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. * guix-build.in, guix-download.in, guix-gc.in, guix-import.in, guix-package.in: Remove shell script boilerplate. Move to guix-COMMAND.in to guix/scripts/COMMAND.scm. Rename module from (guix-COMMAND) to (guix scripts COMMAND). Change "guix-COMMAND" to "guix COMMAND" in usage help string. * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH. Export $GUIX_UNINSTALLED. * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of "guix-COMMAND". * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with "guix COMMAND". * po/POTFILES.in: Update.
| * | | | packages: Add `package-output'.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/packages.scm (package-output): New procedure. * tests/packages.scm ("package-output"): New test.
| * | | | build-system/gnu: Make the strip behavior of `static-package' configurable.Ludovic Courtès2013-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | * guix/build-system/gnu.scm (static-package): Add #:strip-all? keyword parameter.