14 lines
239 B
Nix
14 lines
239 B
Nix
{ stdenv, zig_0_12, lib, ... }:
|
|
stdenv.mkDerivation {
|
|
name = "artificer";
|
|
src = lib.cleanSource ./.;
|
|
|
|
nativeBuildInputs = [
|
|
zig_0_12.hook
|
|
];
|
|
|
|
preConfigure = ''
|
|
zigBuildFlags="-Dtarget=x86_64-linux --release=fast"
|
|
'';
|
|
}
|