mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
39d45a6b09
* Refactor the nix-channel unpacker a bit.
18 lines
327 B
Nix
18 lines
327 B
Nix
rec {
|
|
shell = "@shell@";
|
|
|
|
path = "@testPath@";
|
|
|
|
system = "@system@";
|
|
|
|
shared = "@extra1@";
|
|
|
|
mkDerivation = args:
|
|
derivation ({
|
|
inherit system;
|
|
builder = shell;
|
|
args = ["-e" args.builder];
|
|
PATH = path;
|
|
} // removeAttrs args ["builder" "meta"])
|
|
// { meta = args.meta or {}; };
|
|
}
|