commit 09238fae49c576d0bd0bb95b181329e40710d5ac
parent 292b7151bcd82f1ecad1a726d10fae6aa46a3536
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Thu, 13 Sep 2018 21:05:26 +0200
Check that hello is not available before importing it
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/to-be-run-in-vm.sh b/to-be-run-in-vm.sh
@@ -12,6 +12,10 @@ echo
pwd
head -c "$len_tar" /dev/sdd | tar -xf -
+# Checking that hello is not available yet:
+$(guix build hello)/bin/hello && echo "Expected hello to be missing at this point" && exit 1
+
+# Import hello.nar
guix archive --authorize < signing-key.pub
guix archive --import < hello.nar