about summary refs log tree commit diff
path: root/corepkgs/buildenv/default.nix
blob: a5452db5ea894a07ffa31e5ce4b1cb5364affe73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{system, derivations, manifest}:

derivation { 
  name = "user-environment";
  system = system;
  builder = ./builder.pl;
  derivations = derivations;
  manifest = manifest;

  # !!! grmbl, need structured data for passing this in a clean way.
  active = map (x: if x ? meta && x.meta ? active then x.meta.active else "true") derivations;
}