From b72e93bca8fc045b37b1e863c423cf0e91e8c479 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 28 Aug 2014 18:57:13 +0200 Subject: 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 ]; --- tests/check-reqs.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/check-reqs.sh') 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 -- cgit 1.4.1