joplin: fix build on darwin

This commit is contained in:
figsoda 2023-05-17 13:00:08 -04:00
parent 4376e41af0
commit af4a1982ed

View File

@ -229,7 +229,11 @@ final: prev: {
});
joplin = prev.joplin.override {
nativeBuildInputs = [ pkgs.pkg-config ];
nativeBuildInputs = [
pkgs.pkg-config
] ++ lib.optionals stdenv.isDarwin [
pkgs.xcbuild
];
buildInputs = with pkgs; [
# required by sharp
# https://sharp.pixelplumbing.com/install