diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-02-08T14·32+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-02-08T14·32+0000 |
commit | e771e59178f42fd1c6005c8a35f2ecfebf0e4ce4 (patch) | |
tree | 228be7a69d5f903cbd48e60b864d76fe9caef31b /tests/user-envs.nix.in | |
parent | 39f50db731bb1924d3c18b153dfe4258208b8812 (diff) |
* Tests for nix-env, finally!
Diffstat (limited to 'tests/user-envs.nix.in')
-rw-r--r-- | tests/user-envs.nix.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/user-envs.nix.in b/tests/user-envs.nix.in new file mode 100644 index 000000000000..5700a33227b0 --- /dev/null +++ b/tests/user-envs.nix.in @@ -0,0 +1,19 @@ +let { + + makeDrv = name: progName: derivation { + inherit name progName; + system = "@system@"; + builder = "@shell@"; + shell = "@shell@"; + args = ["-e" "-x" ./user-envs.builder.sh]; + }; + + body = [ + (makeDrv "foo-1.0" "foo") + (makeDrv "foo-2.0pre1" "foo") + (makeDrv "bar-0.1" "bar") + (makeDrv "foo-2.0" "foo") + (makeDrv "bar-0.1.1" "bar") + ]; + +} |