linux-pam: fix cross-compilation from darwin
This commit is contained in:
parent
f2d3ee6d90
commit
4eed370ae9
1 changed files with 6 additions and 0 deletions
|
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
# Case-insensitivity workaround for https://github.com/linux-pam/linux-pam/issues/569
|
||||
postPatch = if stdenv.buildPlatform.isDarwin && stdenv.buildPlatform != stdenv.hostPlatform then ''
|
||||
rm CHANGELOG
|
||||
touch ChangeLog
|
||||
'' else null;
|
||||
|
||||
outputs = [ "out" "doc" "man" /* "modules" */ ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
|
Loading…
Reference in a new issue