diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-02-11 23:17:00 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-02-11 23:51:39 +0100 |
commit | bc1ad69605b6c3e2744694758d63dfc216107a82 (patch) | |
tree | 5eee850233d5f66a9addded1ef6ee3f69e78adc0 /guix/tests.scm | |
parent | c334b7c52fe77b68a90b23fbac5c9de7337e607b (diff) | |
download | guix-patches-bc1ad69605b6c3e2744694758d63dfc216107a82.tar guix-patches-bc1ad69605b6c3e2744694758d63dfc216107a82.tar.gz |
tests: Pass #:guile to 'computed-file' & co.
Fixes a regression introduced in
af57d1bf6c46f47d82dbc234dde1e16fa8634e9d whereby tests would end up
building the world.
* guix/gexp.scm (mixed-text-file): Add #:guile parameter and honor it.
* tests/gexp.scm ("mixed-text-file"): Pass #:guile to 'mixed-text-file'.
("file-union"): Pass #:guile to 'file-union'.
("lower-object, computed-file"): Pass #:guile to 'computed-file'.
("lower-object, computed-file + grafts"): Likewise.
* tests/packages.scm ("origin->derivation, single file with snippet"):
Likewise.
* tests/profiles.scm ("profile-derivation, ordering & collisions"):
Likewise.
* guix/tests.scm (test-file): Likewise.
Diffstat (limited to 'guix/tests.scm')
-rw-r--r-- | guix/tests.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/tests.scm b/guix/tests.scm index 4cd1ad6cf9..06ef3cf76d 100644 --- a/guix/tests.scm +++ b/guix/tests.scm @@ -472,7 +472,8 @@ to its file name extension. Return both its file name and its hash." (format #t #+content))) (when #+command (invoke #+command #+name-sans-ext)) - (copy-file #+name #$output))))) + (copy-file #+name #$output)) + #:guile %bootstrap-guile))) (file-drv (run-with-store store (lower-object f))) (file (derivation->output-path file-drv)) (file-drv-outputs (derivation-outputs file-drv)) |