about summary refs log tree commit diff
path: root/corepkgs/buildenv.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-04T13·30+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-12-04T13·30+0100
commit2d5e8e267b58f531f00b043c9e3dbaefad62a4a1 (patch)
tree7ffc983e9b68fdfed02f39013d747dc901449164 /corepkgs/buildenv.nix
parent5ad89398d12bf8bc83426036dedc2c601ff8f795 (diff)
Add a test for ‘nix-env --set-flag active ...’
Diffstat (limited to 'corepkgs/buildenv.nix')
-rw-r--r--corepkgs/buildenv.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/buildenv.nix b/corepkgs/buildenv.nix
index 923778379263..c52a0ea93d35 100644
--- a/corepkgs/buildenv.nix
+++ b/corepkgs/buildenv.nix
@@ -13,7 +13,7 @@ derivation {
   # !!! grmbl, need structured data for passing this in a clean way.
   derivations =
     map (d:
-      [ (if d.meta.active or true then "1" else "0")
+      [ (d.meta.active or "true")
         (d.meta.priority or 5)
         (builtins.length d.outputs)
       ] ++ map (output: builtins.getAttr output d) d.outputs)