3
0
Fork 0
forked from mirrors/nixpkgs

gogs: fix build with strict deps

This commit is contained in:
Jörg Thalheim 2020-03-18 09:26:23 +00:00
parent c0c7c00f18
commit be283a97e5
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -24,8 +24,9 @@ buildGoPackage rec {
substituteInPlace pkg/setting/setting.go --subst-var data
'';
nativeBuildInputs = [ makeWrapper ]
++ optional pamSupport pam;
nativeBuildInputs = [ makeWrapper ];
buildInputs = optional pamSupport pam;
buildFlags = [ "-tags" ];