Merge pull request #109635 from mroi/patch-pam
linux-pam: fix cross compilation on Darwin
This commit is contained in:
commit
60d9784263
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4
|
||||
{ lib, stdenv, buildPackages, fetchurl, fetchpatch, flex, cracklib, db4, gettext
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "doc" "man" /* "modules" */ ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ flex ];
|
||||
nativeBuildInputs = [ flex ]
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin gettext;
|
||||
|
||||
buildInputs = [ cracklib db4 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user