joplin: fix build
This commit is contained in:
parent
9cd2f3f91a
commit
4d1ca28f49
1 changed files with 16 additions and 2 deletions
|
@ -112,7 +112,7 @@ final: prev: {
|
||||||
meta = oldAttrs.meta // { license = lib.licenses.unfree; };
|
meta = oldAttrs.meta // { license = lib.licenses.unfree; };
|
||||||
});
|
});
|
||||||
|
|
||||||
joplin = prev.joplin.override {
|
joplin = prev.joplin.override (oldAttrs:{
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkgs.pkg-config
|
pkgs.pkg-config
|
||||||
] ++ lib.optionals stdenv.isDarwin [
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
@ -134,7 +134,21 @@ final: prev: {
|
||||||
darwin.apple_sdk.frameworks.AppKit
|
darwin.apple_sdk.frameworks.AppKit
|
||||||
darwin.apple_sdk.frameworks.Security
|
darwin.apple_sdk.frameworks.Security
|
||||||
];
|
];
|
||||||
};
|
|
||||||
|
# add newer node-addon-api to build sharp
|
||||||
|
# https://github.com/lovell/sharp/issues/3920
|
||||||
|
dependencies = [
|
||||||
|
{
|
||||||
|
name = "node-addon-api";
|
||||||
|
packageName = "node-addon-api";
|
||||||
|
version = "7.1.0";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.0.tgz";
|
||||||
|
sha512 = "mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g==";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
] ++ oldAttrs.dependencies;
|
||||||
|
});
|
||||||
|
|
||||||
jsonplaceholder = prev.jsonplaceholder.override {
|
jsonplaceholder = prev.jsonplaceholder.override {
|
||||||
buildInputs = [ nodejs ];
|
buildInputs = [ nodejs ];
|
||||||
|
|
Loading…
Reference in a new issue