1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

* Tests for nix-env, finally!

This commit is contained in:
Eelco Dolstra 2006-02-08 14:32:06 +00:00
parent 39f50db731
commit e771e59178
5 changed files with 108 additions and 1 deletions

19
tests/user-envs.nix.in Normal file
View file

@ -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")
];
}