forked from mirrors/nixpkgs
a1b3ae0c81
svn path=/nixpkgs/trunk/; revision=826
18 lines
376 B
Nix
18 lines
376 B
Nix
{ stdenv, name, preHook ? null, postHook ? null, initialPath, gcc
|
|
, param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? ""
|
|
}:
|
|
|
|
derivation {
|
|
inherit stdenv name;
|
|
system = stdenv.system;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
setup = ./setup.sh;
|
|
|
|
inherit preHook postHook initialPath gcc;
|
|
|
|
# TODO: make this more elegant.
|
|
inherit param1 param2 param3 param4 param5;
|
|
}
|