aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* packages: 'package-field-location' handles missing source properties.Ludovic Courtès2020-03-22
| | | | | | | | This is a followup to f2b24f01f42c1bad3ddffd140194de1aec38a5f8. * guix/packages.scm (package-field-location): Check whether 'source-properties->location' returns #f. This fixes the case where 'source-properties' returns the empty list.
* copy: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | * guix/scripts/copy.scm (send-to-remote-host): Remove explicit 'show-what-to-build' call. Call 'build-derivations' unconditionally. (guix-copy): Wrap 'with-status-verbosity' in 'with-build-handler'.
* copy: Actually implement '--dry-run'.Ludovic Courtès2020-03-22
| | | | * guix/scripts/copy.scm (%options): Add '--dry-run'.
* copy: Factorize 'with-store' & co.Ludovic Courtès2020-03-22
| | | | | | | | * guix/scripts/copy.scm (send-to-remote-host): Remove 'with-store' and 'set-build-options-from-command-line' call. Add 'local' parameter. (retrieve-from-remote-host): Likewise. (guix-copy): Wrap 'with-status-verbosity' in 'with-store' and add call to 'set-build-options-from-command-line'.
* ui: 'build-notifier' invokes continuation when there's nothing to do.Ludovic Courtès2020-03-22
| | | | | * guix/ui.scm (build-notifier): Call CONTINUE when there's nothing to build or download, even when DRY-RUN? is true.
* ui: 'show-what-to-build' returns two values, for builds and downloads.Ludovic Courtès2020-03-22
| | | | * guix/ui.scm (show-what-to-build): Return two values.
* ui: 'show-what-to-build' returns true when there are grafts to build.Ludovic Courtès2020-03-22
| | | | | | * guix/ui.scm (show-what-to-build): Distinguish between 'build/full' and 'build'. Return true whe 'build/full' is non-empty, thus taking grafts into account.
* guix system: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | | * guix/scripts/system.scm (reinstall-bootloader): Remove call to 'show-what-to-build*'. (perform-action): Call 'build-derivations' instead of 'maybe-build'. (process-action): Wrap 'run-with-store' in 'with-build-handler'.
* guix package, pull: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | | | | | | | * guix/scripts/package.scm (build-and-use-profile): Remove #:dry-run? and #:use-substitutes?. Remove call to 'show-what-to-build' and 'dry-run?' special case. (process-actions): Adjust accordingly. (guix-package*): Wrap 'parameterize' in 'with-build-handler'. * guix/scripts/pull.scm (build-and-install): Remove #:use-substitutes? and #:dry-run? and adjust 'update-profile' call accordingly. Remove 'dry-run?' conditional. (guix-pull): Wrap body in 'with-build-handler'.
* pack: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | * guix/scripts/pack.scm (guix-pack): Wrap 'parameterize' in 'with-build-handler'. Remove explicit call to 'show-what-to-build'. Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.
* deploy: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | | Until now, 'guix deploy' would never display what is going to be built. * guix/scripts/deploy.scm (guix-deploy): Wrap 'for-each' in 'with-build-handler'.
* guix build: Use 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | | | | Fixes <https://bugs.gnu.org/28310>. Reported by Andreas Enge <andreas@enge.fr>. * guix/scripts/build.scm (guix-build): Wrap 'parameterize' in 'with-build-handler'. Remove explicit call to 'show-what-to-build'. Call 'build-derivations' regardless of whether OPTS contains 'dry-run?'.
* ui: Add a notification build handler.Ludovic Courtès2020-03-22
| | | | * guix/ui.scm (build-notifier): New variable.
* store: Add 'with-build-handler'.Ludovic Courtès2020-03-22
| | | | | | | * guix/store.scm (current-build-prompt): New variable. (call-with-build-handler, invoke-build-handler): New procedures. (with-build-handler): New macro. * tests/store.scm ("with-build-handler"): New test.
* syscalls: 'with-file-lock' re-grabs lock when reentering its dynamic extent.Ludovic Courtès2020-03-22
| | | | | | | * guix/build/syscalls.scm (call-with-file-lock) (call-with-file-lock/no-wait): Initialize PORT in the 'dynamic-wind' "in" handler. This allows us to re-enter a captured continuation and have the lock grabbed anew.
* tests: install: Abort when one installation step fails.Mathieu Othacehe2020-03-22
| | | | | | | | | | | | | | | | | When marionette-eval calls fail in gui-test-program, the installation continues which results in two scenarios: - hang forever at the next marionette-eval call, - keep going and start a broken installation, which is annoying because it clears the terminal and hides the error. Make sure that gui-test-program is exited with #f return code when one of the marionette-eval calls fail. * gnu/tests/install.scm (gui-test-program): Add a new macro "marionette-eval*". Throw an exception when one on the marionette-eval calls fail.
* gnu: python-bleach: Update to 3.1.3 (fixes CVE-2020-6816).Efraim Flashner2020-03-22
| | | | | | | * gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.3. [native-inputs]: Remove python-pytest-runner2. Add python-datrie, python-genshi, python-lxml. [home-page]: Update to new home-page.
* gnu: Add python-block-tracing.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-xyz.scm (python-block-tracing): New variable.
* gnu: Add python-privy.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-crypto.scm (python-privy): New variable.
* gnu: Add python-argon2-cffi.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-crypto.scm (python-argon2-cffi): New variable.
* gnu: Add python-userspacefs.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-xyz.scm (python-userspacefs): New variable.
* gnu: Add python-fusepyng.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-xyz.scm (python-fusepyng): New variable.
* gnu: Add python-keyrings.alt.Efraim Flashner2020-03-22
| | | | * gnu/packages/python-crypto.scm (python-keyring.alt): New variable.
* gnu: edirect: Install more programs.Efraim Flashner2020-03-22
| | | | | | | | | * gnu/packages/bioinformatics.scm (edirect)[arguments]: Add 'patch-programs phase to work around not finding binaries in the PATH. Rewrite 'install phase to install many more scripts. Rewrite 'wrap-program to wrap more scripts with more programs. [inputs]: Add edirect-go-programs. [native-search-paths]: New field.
* gnu: Add edirect-go-programs.Efraim Flashner2020-03-22
| | | | | * gnu/packages/bioinformatics.scm (edirect-go-programs): New variable. (edirect)[source]: Adjust snippet to not use non-free software.
* gnu: Add go-github-com-surgebase-porter2.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-surgebase-porter2): New variable.
* gnu: Add go-github-com-surge-glog.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-surge-glog): New variable.
* gnu: Add go-github-com-pbnjay-memory.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-pbnjay-memory): New variable.
* gnu: Add go-github-com-klauspost-cpuid.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-klauspost-cpuid): New variable.
* gnu: Add go-github-com-gedex-inflector.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-gedex-inflector): New variable.
* gnu: Add go-github-com-fogleman-gg.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-fogleman-gg): New variable.
* gnu: Add go-github-com-golang-freetype.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-github-com-golang-freetype): New variable.
* gnu: Add go-golang-org-rainycape-unidecode.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-golang-org-rainycape-unidecode): New variable.
* gnu: Add go-golang-org-x-image.Efraim Flashner2020-03-22
| | | | * gnu/packages/golang.scm (go-golang-org-x-image): New variable.
* services: Add fontconfig-file-system-service.Efraim Flashner2020-03-22
| | | | | | * gnu/services/desktop.scm (%fontconfig-file-system, fontconfig-file-system-service): New variables. (%desktop-services): Add fontconfig-file-system-service.
* gnu: cutter: Update to 1.10.1.base-for-series-3256pinoaffe@airmail.cc2020-03-22
| | | | | | * gnu/packages/engineering.scm (cutter): Update to 1.10.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: radare2: Update to 4.2.1.pinoaffe@airmail.cc2020-03-22
| | | | | | * gnu/packages/engineering.scm (radare2): Update to 4.2.1. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clipmenu: Improve the package definitionDamien Cassou2020-03-22
| | | | | | | | * gnu/packages/xdisorg.scm (clipmenu): Add the package's unit-tests to the check phase. Wrap the program so the PATH contains all dependencies. The previous approach to patch the script was incomplete and more complex. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clipnotify: Comment on the lack of a test suite.Damien Cassou2020-03-22
| | | | | | * gnu/packages/xdisorg.scm (clipnotify): Add a comment Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: clipmenu: Re-indent.Damien Cassou2020-03-22
| | | | | | * gnu/packages/xdisorg.scm (clipmenu): Re-indent Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix-install.sh: /etc/profile.d/guix.sh sources ~/.guix-profile/etc/profile.Ludovic Courtès2020-03-22
| | | | | | * etc/guix-install.sh (sys_create_init_profile): Source ~/.guix-profile/etc/profile instead of running 'guix package --search-paths=prefix'
* guix-install.sh: Add a trailing colon to 'INFOPATH'.Ludovic Courtès2020-03-22
| | | | | | | | Fixes <https://bugs.gnu.org/39984>. Suggested by Adam Porter <adam@alphapapa.net>. * etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to 'INFOPATH'.
* download: Delete the output file upon failure.Ludovic Courtès2020-03-22
| | | | | | | | | | This allows ENOSPC conditions to be properly reported as such rather than as a hash mismatch due to the availability of a truncated file. Fixes <https://bugs.gnu.org/39993>. Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>. * guix/build/download.scm (url-fetch): In the failure case, delete FILE.
* gnu: Add dragonfly-reverbAlexandros Theodotou2020-03-21
| | | | * gnu/packages/music.scm (dragonfly-reverb): New variable.
* gnu: linux-libre: Update to 5.4.27.Mark H Weaver2020-03-21
| | | | | * gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.27. (linux-libre-5.4-pristine-source): Update hash.
* gnu: linux-libre@4.19: Update to 4.19.112.Mark H Weaver2020-03-21
| | | | | * gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.112. (linux-libre-4.19-pristine-source): Update hash.
* gnu: linux-libre@4.14: Update to 4.14.174.Mark H Weaver2020-03-21
| | | | | * gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.174. (linux-libre-4.14-pristine-source): Update hash.
* gnu: linux-libre@4.9: Update to 4.9.217.Mark H Weaver2020-03-21
| | | | | * gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.217. (linux-libre-4.9-pristine-source): Update hash.
* gnu: linux-libre@4.4: Update to 4.4.217.Mark H Weaver2020-03-21
| | | | | * gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.217. (linux-libre-4.4-pristine-source): Update hash.
* gnu: ghc-stylish-haskell: Deprecate older duplicate package.John Soo2020-03-21
| | | | | | * gnu/packages/haskell-xyz.scm (ghc-stylish-haskell): Deprecate it. Signed-off-by: Marius Bakke <mbakke@fastmail.com>