11 lines
251 B
Nix
11 lines
251 B
Nix
with import <nix/config.nix>;
|
|
|
|
{ name, channelName, src }:
|
|
|
|
derivation {
|
|
system = builtins.currentSystem;
|
|
builder = shell;
|
|
args = [ "-e" ./unpack-channel.sh ];
|
|
inherit name channelName src bzip2 tar tr;
|
|
PATH = "${nixBinDir}:${coreutils}";
|
|
}
|