{ 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" ''; }