diff options
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/monit/default.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/tools/system/monit/default.nix b/pkgs/tools/system/monit/default.nix index a5e0a409ffc98..f1ebd6596c5bf 100644 --- a/pkgs/tools/system/monit/default.nix +++ b/pkgs/tools/system/monit/default.nix @@ -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 [ |