nixite/nixite/make-site.nix
2024-01-04 05:23:06 +00:00

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