monolith: fix build on darwin

This commit is contained in:
uncenter
2025-09-19 10:47:28 -05:00
parent 9b3cfad837
commit bc3a2f25a9
+7 -7
View File
@@ -24,12 +24,13 @@ rustPlatform.buildRustPackage rec {
OPENSSL_NO_VENDOR = true;
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
buildInputs =
lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
];
checkFlags = [ "--skip=tests::cli" ];
@@ -41,7 +42,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/Y2Z/monolith";
license = licenses.cc0;
platforms = lib.platforms.unix;
broken = stdenv.hostPlatform.isDarwin;
maintainers = with maintainers; [ Br1ght0ne ];
};
}