Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
397 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildGoModule,
pname,
version,
src,
vendorHash,
}:
buildGoModule {
inherit version src vendorHash;
pname = "${pname}-server";
patches = [
./0001-disable-etc-copy.patch
];
ldflags = [
"-s"
"-w"
];
doCheck = false; # requires a running PostgreSQL database
# preCheck = ''
# set -o allexport
# source ./.test.env
# set +o allexport
# '';
}