summary refs log tree commit diff
path: root/pkgs/stdenv/generic/default.nix
blob: 9c877252e2be69861650fcc06525e577e6ec1acf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ 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;
}