monit: remove libSystem hack
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user