diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-04-16 18:48:36 +0300 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-05-23 21:03:28 +0300 |
commit | 35bb9e5ac77352bb2c9f7936bfc9a3384f68c2f6 (patch) | |
tree | eda703ddbdf05dd09cfb2558184457aaafa2143f /pkgs/tools/system | |
parent | 13532826524693318930574c2ead977ff66a6a83 (diff) |
monit: remove libSystem hack
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 [ |