diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-03T01·51+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-03T01·51+0000 |
commit | 39d45a6b090b5105423b22b8ef39c2a4a000a4a1 (patch) | |
tree | 945e102b1f482f8eb393fe1c597b8ea499b26bf3 /corepkgs/unpack-channel.nix | |
parent | dadbb51d969517c1f2512015ab201dc99088d9a6 (diff) |
* Add a test for nix-channel.
* Refactor the nix-channel unpacker a bit.
Diffstat (limited to 'corepkgs/unpack-channel.nix')
-rw-r--r-- | corepkgs/unpack-channel.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix new file mode 100644 index 000000000000..5e6ccf23fd47 --- /dev/null +++ b/corepkgs/unpack-channel.nix @@ -0,0 +1,11 @@ +with import <nix/config.nix>; + +{ system, inputs }: + +derivation { + name = "channels"; + builder = shell; + args = [ "-e" ./unpack-channel.sh ]; + inherit system inputs bzip2 tar tr; + PATH = "${nixBinDir}:${coreutils}"; +} |