artificer/default.nix

20 lines
284 B
Nix

{ stdenv,
zig_0_12,
lib,
version ? "git",
...
}:
stdenv.mkDerivation {
pname = "artificer";
inherit version;
src = lib.cleanSource ./.;
nativeBuildInputs = [
zig_0_12.hook
];
preConfigure = ''
zigBuildFlags="-Dtarget=x86_64-linux --release=fast"
'';
}