gitea: fix strict deps build

This commit is contained in:
Jörg Thalheim 2020-03-18 12:27:40 +00:00
parent aa7b26fe29
commit b4c2511eb8
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

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