tests: Mark VM images as non-substitutable.
authorLudovic Courtès <ludo@gnu.org>
Wed, 8 Apr 2020 10:27:28 +0000 (12:27 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 8 Apr 2020 10:42:41 +0000 (12:42 +0200)
* gnu/tests/install.scm (run-install): Pass #:substitutable? to
'system-disk-image' and to 'gexp->derivation'.

gnu/tests/install.scm

index b0b40f2..799a659 100644 (file)
@@ -232,7 +232,9 @@ packages defined in installation-os."
                                  os (list target))
                                 #:disk-image-size install-size
                                 #:file-system-type
-                                installation-disk-image-file-system-type)))
+                                installation-disk-image-file-system-type
+                                ;; Don't provide substitutes; too big.
+                                #:substitutable? #f)))
     (define install
       (with-imported-modules '((guix build utils)
                                (gnu build marionette))
@@ -296,7 +298,8 @@ packages defined in installation-os."
               (exit #$(and gui-test
                            (gui-test #~marionette)))))))
 
-    (gexp->derivation "installation" install)))
+    (gexp->derivation "installation" install
+                      #:substitutable? #f)))      ;too big
 
 (define* (qemu-command/writable-image image #:key (memory-size 256))
   "Return as a monadic value the command to run QEMU on a writable copy of