summary refs log tree commit diff
path: root/tests/derivations.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-10-28 01:58:39 +0200
committerLudovic Courtès <ludo@gnu.org>2012-10-28 01:58:39 +0200
commit8f3ecbd7157aa4bf63069d69280351bd04c85eb0 (patch)
tree938beea4c0673199829a8d27cc84f0cd035ed820 /tests/derivations.scm
parent9144af5aa7b757b1dacd3f39ebdac8a31bc36e9f (diff)
downloadguix-8f3ecbd7157aa4bf63069d69280351bd04c85eb0.tar.gz
tests: Use our own bootstrap tools.
* tests/builders.scm (%bootstrap-inputs): Use %BOOT0-INPUTS from the distro.
* tests/packages.scm (%bootstrap-inputs): Likewise.
* tests/derivations.scm (%coreutils): Alias for %BOOTSTRAP-COREUTILS&CO.
Diffstat (limited to 'tests/derivations.scm')
-rw-r--r--tests/derivations.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/derivations.scm b/tests/derivations.scm
index 0a785f1b2a..2497fa8ec6 100644
--- a/tests/derivations.scm
+++ b/tests/derivations.scm
@@ -205,7 +205,11 @@
 
 
 (define %coreutils
-  (false-if-exception (nixpkgs-derivation "coreutils")))
+  (false-if-exception
+   (or (package-derivation %store
+                           (@@ (distro packages base)
+                               %bootstrap-coreutils&co))
+       (nixpkgs-derivation "coreutils"))))
 
 (test-skip (if %coreutils 0 1))