Merge pull request #269724 from szlend/fix-linux-pam-darwin-cross
linux-pam: fix cross-compilation from darwin
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user