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

Merge pull request #73746 from Shados/fix-dante-libc

dante: fix package under Linux
This commit is contained in:
markuskowa 2020-01-12 17:54:55 +01:00 committed by GitHub
commit 26a4e0e57c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ]; buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ];
configureFlags = ["--with-libc=libc${stdenv.targetPlatform.extensions.sharedLibrary}"]; configureFlags = if !stdenv.isDarwin
then [ "--with-libc=libc.so.6" ]
else [ "--with-libc=libc${stdenv.targetPlatform.extensions.sharedLibrary}" ];
dontAddDisableDepTrack = stdenv.isDarwin; dontAddDisableDepTrack = stdenv.isDarwin;