monit: remove libSystem hack

This commit is contained in:
Weijia Wang 2023-04-16 18:48:36 +03:00
parent 1353282652
commit 35bb9e5ac7

View file

@ -24,16 +24,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ bison flex ] ++
lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.DiskArbitration
darwin.apple_sdk.frameworks.System
];
buildInputs = [ zlib.dev libxcrypt ] ++
lib.optionals useSSL [ openssl ] ++
lib.optionals usePAM [ pam ];
preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace configure --replace "-framework System" "-lSystem"
'';
configureFlags = [
(lib.withFeature usePAM "pam")
] ++ (if useSSL then [