mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-27 16:16:16 +02:00
045708db43
This was the last function using a shell script, so this allows us to get rid of tar, coreutils, bash etc.
12 lines
203 B
Nix
12 lines
203 B
Nix
{ name, channelName, src }:
|
|
|
|
derivation {
|
|
builder = "builtin:unpack-channel";
|
|
|
|
system = "builtin";
|
|
|
|
inherit name channelName src;
|
|
|
|
# No point in doing this remotely.
|
|
preferLocalBuild = true;
|
|
}
|