mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
libxcrypt: fix build with musl
This commit is contained in:
parent
f6011b26e4
commit
f9090d5862
1 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
|
|||
"--enable-hashes=all"
|
||||
"--enable-obsolete-api=glibc"
|
||||
"--disable-failure-tokens"
|
||||
] ++ lib.optionals stdenv.hostPlatform.isMusl [
|
||||
"--disable-werror"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.hostPlatform.isMusl;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extended crypt library for descrypt, md5crypt, bcrypt, and others";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue