static executable
This commit is contained in:
parent
f281d90c7b
commit
bc366ff01f
|
@ -7,7 +7,10 @@ buildGoPackage rec {
|
||||||
goPackagePath = "tulpa.dev/Xe/quickserv";
|
goPackagePath = "tulpa.dev/Xe/quickserv";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
goDeps = ./deps.nix;
|
goDeps = ./deps.nix;
|
||||||
|
preBuild = ''
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
buildFlagsArray+=(-pkgdir "$TMPDIR")
|
||||||
|
'';
|
||||||
|
|
||||||
allowGoReference = false;
|
allowGoReference = false;
|
||||||
CGO_ENABLED = "0";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue