026ff9466a
svn path=/nixpkgs/trunk/; revision=511
24 lines
493 B
Nix
24 lines
493 B
Nix
{system, name, noSysDirs, prehook, posthook, initialPath,
|
|
param1, param2, param3, param4, param5}:
|
|
derivation {
|
|
name = name;
|
|
system = system;
|
|
builder = ./builder.sh;
|
|
noSysDirs = noSysDirs;
|
|
|
|
setup = ./setup.sh;
|
|
gccwrapper = ./gcc-wrapper.sh;
|
|
ldwrapper = ./ld-wrapper.sh;
|
|
|
|
prehook = prehook;
|
|
posthook = posthook;
|
|
|
|
initialPath = initialPath;
|
|
# TODO: make this more elegant.
|
|
param1 = param1;
|
|
param2 = param2;
|
|
param3 = param3;
|
|
param4 = param4;
|
|
param5 = param5;
|
|
}
|