From 3d0a9ec8258fc2a6ec6a73e249aa38fbd03207d8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 26 Feb 2014 18:59:01 +0100 Subject: Test executables in NARs --- tests/binary-cache.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/binary-cache.sh') diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh index 45e67bee71..6f0c36f630 100644 --- a/tests/binary-cache.sh +++ b/tests/binary-cache.sh @@ -21,6 +21,8 @@ nix-env --option binary-caches "file://$cacheDir" -f dependencies.nix -qas \* | nix-store --option binary-caches "file://$cacheDir" -r $outPath +[ -x $outPath/program ] + # But with the right configuration, "nix-env -qas" should also work. clearStore -- cgit 1.4.1