2012-01-03 01:51:38 +00:00
|
|
|
with import <nix/config.nix>;
|
|
|
|
|
2012-04-14 19:05:28 +00:00
|
|
|
{ name, channelName, src }:
|
2012-01-03 01:51:38 +00:00
|
|
|
|
|
|
|
derivation {
|
2012-04-14 16:38:52 +00:00
|
|
|
system = builtins.currentSystem;
|
2012-01-03 01:51:38 +00:00
|
|
|
builder = shell;
|
|
|
|
args = [ "-e" ./unpack-channel.sh ];
|
2012-04-14 19:05:28 +00:00
|
|
|
inherit name channelName src bzip2 tar tr;
|
2012-01-03 01:51:38 +00:00
|
|
|
PATH = "${nixBinDir}:${coreutils}";
|
|
|
|
}
|