Add a new way to handle option sets.

svn path=/nixpkgs/trunk/; revision=12505
This commit is contained in:
Nicolas Pierron
2008-08-05 17:16:35 +00:00
parent 7abbe5889f
commit 0e25bb67cf
7 changed files with 270 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
#! /bin/sh -e
echo 1>&2 "Test: Merge of option bindings."
nix-instantiate merge.nix --eval-only --strict --xml >& merge.out
diff merge.ref merge.out
echo 1>&2 "Test: Filter of option declarations."
nix-instantiate keep.nix --eval-only --strict --xml >& keep.out
diff keep.ref keep.out