quickserv/default.nix

17 lines
307 B
Nix
Raw Normal View History

2020-02-08 22:06:53 +00:00
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
buildGoPackage rec {
name = "quickserv";
version = "1.0.0";
goPackagePath = "tulpa.dev/Xe/quickserv";
src = ./.;
goDeps = ./deps.nix;
2020-02-10 12:04:05 +00:00
preBuild = ''
export CGO_ENABLED=0
buildFlagsArray+=(-pkgdir "$TMPDIR")
'';
2020-02-08 22:06:53 +00:00
allowGoReference = false;
}