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" ];