mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50: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-hashes=all"
|
||||||
"--enable-obsolete-api=glibc"
|
"--enable-obsolete-api=glibc"
|
||||||
"--disable-failure-tokens"
|
"--disable-failure-tokens"
|
||||||
|
] ++ lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
|
"--disable-werror"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -21,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.hostPlatform.isMusl;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Extended crypt library for descrypt, md5crypt, bcrypt, and others";
|
description = "Extended crypt library for descrypt, md5crypt, bcrypt, and others";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue