Merge pull request #68418 from arnarg/fix-dante-darwin

dante: add darwin support
This commit is contained in:
Jörg Thalheim 2019-09-23 17:43:53 +01:00 committed by GitHub
commit 9dc1f08ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,15 +11,15 @@ stdenv.mkDerivation rec {
buildInputs = [ pam libkrb5 cyrus_sasl miniupnpc ];
configureFlags = [
"--with-libc=libc.so.6"
];
configureFlags = ["--with-libc=libc${stdenv.targetPlatform.extensions.sharedLibrary}"];
dontAddDisableDepTrack = stdenv.isDarwin;
meta = with stdenv.lib; {
description = "A circuit-level SOCKS client/server that can be used to provide convenient and secure network connectivity.";
homepage = "https://www.inet.no/dante/";
maintainers = [ maintainers.arobyn ];
license = licenses.bsdOriginal;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}