summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/guix-build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/guix-build.sh b/tests/guix-build.sh
index 52feda9d3aa..62cdd5fe14b 100644
--- a/tests/guix-build.sh
+++ b/tests/guix-build.sh
@@ -36,6 +36,12 @@ guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' | \
36guix build hello -d | \ 36guix build hello -d | \
37 grep -e '-hello-[0-9\.]\+\.drv$' 37 grep -e '-hello-[0-9\.]\+\.drv$'
38 38
39# Passing a .drv.
40drv="`guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' -d`"
41out="`guix build "$drv"`"
42out2="`guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)'`"
43test "$out" = "$out2"
44
39# Passing a URI. 45# Passing a URI.
40GUIX_DAEMON_SOCKET="file://$GUIX_STATE_DIRECTORY/daemon-socket/socket" \ 46GUIX_DAEMON_SOCKET="file://$GUIX_STATE_DIRECTORY/daemon-socket/socket" \
41guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' 47guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)'