diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-27 15:01:32 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-27 15:01:32 +0100 |
commit | 6c98e6a5dec2bcbc25ddeb2c279aa4a0b274bd6a (patch) | |
tree | 2ef5df17cd5fc359c27f96adb3279deb791591a9 /src/libexpr/get-drvs.cc | |
parent | 8b8ee53bc73769bb25d967ba259dabc9b23e2e6f (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/libexpr/get-drvs.cc')
0 files changed, 0 insertions, 0 deletions