about summary refs log tree commit diff
path: root/src/nix-env/nix-env.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-27T14·01+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-27T14·01+0100
commit6c98e6a5dec2bcbc25ddeb2c279aa4a0b274bd6a (patch)
tree2ef5df17cd5fc359c27f96adb3279deb791591a9 /src/nix-env/nix-env.cc
parent8b8ee53bc73769bb25d967ba259dabc9b23e2e6f (diff)
Optionally ignore null-valued derivation attributes
This allows adding attributes like

  attr = if stdenv.system == "bla" then something else null;

without changing the resulting derivation on non-<bla> platforms.

We once considered adding a special "ignore" value for this purpose,
but using null seems more elegant.
Diffstat (limited to 'src/nix-env/nix-env.cc')
0 files changed, 0 insertions, 0 deletions