diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-04-14 21:05:28 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-04-14 21:05:28 +0200 |
commit | 0b5107c016080e70d30ccba3afa0f9aa7a90a891 (patch) | |
tree | 176724458a501591ae129aed133c95d2ecea1e71 /corepkgs/unpack-channel.nix | |
parent | 1d0bafb74d17f14778005a633ee332ad0ad9ba9e (diff) |
If the (redirected) channel URL contains a version number, use it
Diffstat (limited to 'corepkgs/unpack-channel.nix')
-rw-r--r-- | corepkgs/unpack-channel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix index eba957dff..170f3ab07 100644 --- a/corepkgs/unpack-channel.nix +++ b/corepkgs/unpack-channel.nix @@ -1,11 +1,11 @@ with import <nix/config.nix>; -{ name, src }: +{ name, channelName, src }: derivation { system = builtins.currentSystem; builder = shell; args = [ "-e" ./unpack-channel.sh ]; - inherit name src bzip2 tar tr; + inherit name channelName src bzip2 tar tr; PATH = "${nixBinDir}:${coreutils}"; } |