diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-01-30 20:32:59 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-30 22:52:22 +0100 |
commit | 9f0215d1896f1d8b2e35195a4b653ff1dff06349 (patch) | |
tree | 39cb9e02d31c11638ee20989d08ca154c5fbb26e /pkgs/os-specific/linux/pam | |
parent | fe79cac73b671edc4feb48071443d9a67a5c1b1a (diff) |
pkgsMusl.pam: fix build
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r-- | pkgs/os-specific/linux/pam/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index 116fd06d511cb..c956dfad4c64f 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, buildPackages, fetchurl +{ lib, stdenv, buildPackages, fetchurl, fetchpatch , flex, cracklib, db4, gettext, audit, libxcrypt , nixosTests , autoreconfHook269, pkg-config-unwrapped @@ -15,6 +15,13 @@ stdenv.mkDerivation rec { patches = [ ./suid-wrapper-path.patch + + # Backport fix for missing include breaking musl builds. + (fetchpatch { + name = "pam_namespace-stdint.h.patch"; + url = "https://github.com/linux-pam/linux-pam/commit/cc9d40b7cdbd3e15ccaa324a0dda1680ef9dea13.patch"; + hash = "sha256-tCnH2yPO4dBbJOZA0fP2gm1EavHRMEJyfzB5Vy7YjAA="; + }) ]; # Case-insensitivity workaround for https://github.com/linux-pam/linux-pam/issues/569 |