about summary refs log tree commit diff
path: root/tests/check-reqs.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-28T16·57+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-28T16·57+0200
commitb72e93bca8fc045b37b1e863c423cf0e91e8c479 (patch)
treea989f3e94ef1ed8501b382099b6ba6c82730fd6d /tests/check-reqs.sh
parent9eddf6f0b68e1ac69d56de3c5c0899481ad2c6cf (diff)
Add disallowedReferences / disallowedRequisites
For the "stdenv accidentally referring to bootstrap-tools", it seems
easier to specify the path that we don't want to depend on, e.g.

  disallowedRequisites = [ bootstrapTools ];
Diffstat (limited to 'tests/check-reqs.sh')
-rw-r--r--tests/check-reqs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/check-reqs.sh b/tests/check-reqs.sh
index 643c2d0cdc0d..8b2454915a52 100644
--- a/tests/check-reqs.sh
+++ b/tests/check-reqs.sh
@@ -2,11 +2,12 @@ source common.sh
 
 RESULT=$TEST_ROOT/result
 
-# test1 should succeed.
 nix-build -o $RESULT check-reqs.nix -A test1
 
-# test{2,3,4,5} should fail.
 (! nix-build -o $RESULT check-reqs.nix -A test2)
 (! nix-build -o $RESULT check-reqs.nix -A test3)
 (! nix-build -o $RESULT check-reqs.nix -A test4)
 (! nix-build -o $RESULT check-reqs.nix -A test5)
+(! nix-build -o $RESULT check-reqs.nix -A test6)
+
+nix-build -o $RESULT check-reqs.nix -A test7