* Add a test for nix-channel.
* Refactor the nix-channel unpacker a bit.
This commit is contained in:
parent
dadbb51d96
commit
39d45a6b09
13 changed files with 103 additions and 75 deletions
11
corepkgs/unpack-channel.nix
Normal file
11
corepkgs/unpack-channel.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
with import <nix/config.nix>;
|
||||
|
||||
{ system, inputs }:
|
||||
|
||||
derivation {
|
||||
name = "channels";
|
||||
builder = shell;
|
||||
args = [ "-e" ./unpack-channel.sh ];
|
||||
inherit system inputs bzip2 tar tr;
|
||||
PATH = "${nixBinDir}:${coreutils}";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue