forked from lix-project/lix
14 lines
315 B
Nix
14 lines
315 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}";
|
|
# No point in doing this remotely.
|
|
preferLocalBuild = true;
|
|
}
|