1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

dante: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-29 17:06:12 +02:00 committed by Martin Weinelt
parent d438cee6a6
commit 71dad513b3
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,5 @@
{ lib, stdenv, fetchurl, fetchpatch, pam, libkrb5, cyrus_sasl, miniupnpc, autoreconfHook }:
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook
, pam, libkrb5, cyrus_sasl, miniupnpc, libxcrypt }:
stdenv.mkDerivation rec {
pname = "dante";
@ -10,7 +11,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = lib.optional stdenv.hostPlatform.isMips64 autoreconfHook;
buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ];
buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc libxcrypt ];
configureFlags = if !stdenv.isDarwin
then [ "--with-libc=libc.so.6" ]