monit: remove libSystem hack
This commit is contained in:
parent
1353282652
commit
35bb9e5ac7
1 changed files with 1 additions and 4 deletions
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue