mirror of
https://github.com/NixOS/nix.git
synced 2024-11-27 01:02:34 +00:00
045708db43
This was the last function using a shell script, so this allows us to get rid of tar, coreutils, bash etc.
13 lines
203 B
Nix
13 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;
|
|
}
|