0
0
Fork 0
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:
Franz Pletz 2022-09-26 22:44:58 +02:00 committed by Martin Weinelt
parent f6011b26e4
commit f9090d5862
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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";