about summary refs log tree commit diff
path: root/corepkgs/buildenv.pl
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.pl
parent5ad89398d12bf8bc83426036dedc2c601ff8f795 (diff)
Add a test for ‘nix-env --set-flag active ...’
Diffstat (limited to 'corepkgs/buildenv.pl')
-rw-r--r--corepkgs/buildenv.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/buildenv.pl b/corepkgs/buildenv.pl
index 3d79e50316fd..ea517687bd1d 100644
--- a/corepkgs/buildenv.pl
+++ b/corepkgs/buildenv.pl
@@ -134,7 +134,7 @@ while (scalar @derivations) {
     for (my $n = 0; $n < $outputs; $n++) {
         my $path = shift @derivations;
         $pkgs{$path} =
-            { active => int($active)
+            { active => $active ne "false"
             , priority => int($priority) };
     }
 }