17 lines
300 B
Nix
17 lines
300 B
Nix
pkgs: raw: let
|
|
builder = import ./builder.nix;
|
|
in
|
|
derivation {
|
|
builder = "/bin/sh";
|
|
name = "my-nixite";
|
|
system = "x86_64-linux";
|
|
args = [
|
|
"-c"
|
|
''
|
|
PATH=$PATH:${pkgs.coreutils}/bin
|
|
mkdir $out
|
|
${builder.buildSiteTo "$out" raw}
|
|
''
|
|
];
|
|
}
|