2009-03-17 18:11:55 +01:00
|
|
|
rec {
|
|
|
|
shell = "@shell@";
|
|
|
|
|
|
|
|
path = "@testPath@";
|
|
|
|
|
|
|
|
system = "@system@";
|
|
|
|
|
|
|
|
shared = "@extra1@";
|
|
|
|
|
2009-03-17 17:33:48 +01:00
|
|
|
mkDerivation = args:
|
|
|
|
derivation ({
|
2009-03-17 18:11:55 +01:00
|
|
|
inherit system;
|
|
|
|
builder = shell;
|
2009-03-17 17:33:48 +01:00
|
|
|
args = ["-e" args.builder];
|
2009-03-17 18:11:55 +01:00
|
|
|
PATH = path;
|
2012-01-03 02:51:38 +01:00
|
|
|
} // removeAttrs args ["builder" "meta"])
|
|
|
|
// { meta = args.meta or {}; };
|
2009-03-17 17:33:48 +01:00
|
|
|
}
|