about summary refs log blame commit diff
path: root/corepkgs/unpack-channel.nix
blob: 0fc2b2f456c4031ac44e898fcabf93b798031e16 (plain) (tree)
1
2
3
4
5
6
7
8
9

                             
                           

            
                                  

                                      
                                            
                                     

                                    
 
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;
}