From 2d5e8e267b58f531f00b043c9e3dbaefad62a4a1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 4 Dec 2012 14:30:34 +0100 Subject: Add a test for ‘nix-env --set-flag active ...’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- corepkgs/buildenv.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'corepkgs/buildenv.pl') diff --git a/corepkgs/buildenv.pl b/corepkgs/buildenv.pl index 3d79e50316..ea517687bd 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) }; } } -- cgit 1.4.1