mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
linux-pam: fixup build on musl
In particular, nixStatic was blocked by this. https://hydra.nixos.org/build/247250976/nixlog/46/tail
This commit is contained in:
parent
24db4fbcb8
commit
a763026780
@ -24,7 +24,13 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/linux-pam/linux-pam/commit/77bd338125cde583ecdfb9fd69619bcd2baf15c2.patch";
|
||||
hash = "sha256-tlc9RcLZpEH315NFD4sdN9yOco8qhC6+bszl4OHm+AI=";
|
||||
})
|
||||
];
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
|
||||
name = "missing-termio.patch";
|
||||
url = "https://github.com/linux-pam/linux-pam/commit/5374f677e4cae669eb9accf2449178b602e8a40a.patch";
|
||||
hash = "sha256-b6n8f16ETSNj5h+5/Yhn32XMfVO8xEnZRRhw+nuLP/8=";
|
||||
})
|
||||
;
|
||||
|
||||
# Case-insensitivity workaround for https://github.com/linux-pam/linux-pam/issues/569
|
||||
postPatch = if stdenv.buildPlatform.isDarwin && stdenv.buildPlatform != stdenv.hostPlatform then ''
|
||||
|
Loading…
Reference in New Issue
Block a user