mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
13 lines
315 B
Nix
13 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;
|
|
}
|