about summary refs log tree commit diff
path: root/corepkgs/unpack-channel.nix
blob: 0fc2b2f456c4031ac44e898fcabf93b798031e16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}