mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
linux-pam: fix cross-compilation from darwin
This commit is contained in:
parent
f2d3ee6d90
commit
4eed370ae9
@ -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 New Issue
Block a user