diff options
author | Simon Žlender <pub.git@zlender.si> | 2023-11-24 22:40:57 +0100 |
---|---|---|
committer | Simon Žlender <pub.git@zlender.si> | 2023-11-25 15:55:10 +0100 |
commit | 4eed370ae9177d43f2e67c8c23993584882044d1 (patch) | |
tree | daee29e2fe754baa5b890a15f1fbdbaf8bbbd646 /pkgs/os-specific/linux/pam | |
parent | f2d3ee6d90350ed6fa9f8cc927decad45c6bab33 (diff) |
linux-pam: fix cross-compilation from darwin
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r-- | pkgs/os-specific/linux/pam/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index a35f40be59550..10864df2597b9 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -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 ]; |