2004-03-09 18:16:02 +01:00
|
|
|
{ stdenv, name, preHook ? null, postHook ? null, initialPath, gcc
|
2004-03-08 17:02:46 +01:00
|
|
|
, param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? ""
|
|
|
|
}:
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
derivation {
|
2004-03-08 17:02:46 +01:00
|
|
|
inherit stdenv name;
|
|
|
|
system = stdenv.system;
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
builder = ./builder.sh;
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
setup = ./setup.sh;
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2004-03-08 17:02:46 +01:00
|
|
|
inherit preHook postHook initialPath gcc;
|
2003-11-02 18:42:19 +01:00
|
|
|
|
|
|
|
# TODO: make this more elegant.
|
2004-03-08 17:02:46 +01:00
|
|
|
inherit param1 param2 param3 param4 param5;
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|