diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26 13:48:23 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-26 13:48:23 +0100 |
commit | bf4a577a586d99b7bc4298ae662e312eb73815e2 (patch) | |
tree | 635bd6806fd33dcd5c3c40d5ac88a885b5fa35c8 /scripts/nix-channel.in | |
parent | 8a02fdc38ef5d02115d152a2d3e79ebd8a462e3e (diff) |
Fix broken patch
Diffstat (limited to 'scripts/nix-channel.in')
-rwxr-xr-x | scripts/nix-channel.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-channel.in b/scripts/nix-channel.in index db1ca2993..62292a87f 100755 --- a/scripts/nix-channel.in +++ b/scripts/nix-channel.in @@ -22,7 +22,7 @@ my $channelsList = "$home/.nix-channels"; my $nixDefExpr = "$home/.nix-defexpr"; # Figure out the name of the channels profile. -my $userName = getpwuid($<) or $ENV{"USER"} or die "cannot figure out user name"); +my $userName = getpwuid($<) || $ENV{"USER"} or die "cannot figure out user name"; my $profile = "$Nix::Config::stateDir/profiles/per-user/$userName/channels"; mkpath(dirname $profile, 0, 0755); |