mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
joplin: fix build
This commit is contained in:
parent
9cd2f3f91a
commit
4d1ca28f49
@ -112,7 +112,7 @@ final: prev: {
|
||||
meta = oldAttrs.meta // { license = lib.licenses.unfree; };
|
||||
});
|
||||
|
||||
joplin = prev.joplin.override {
|
||||
joplin = prev.joplin.override (oldAttrs:{
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
@ -134,7 +134,21 @@ final: prev: {
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
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 {
|
||||
buildInputs = [ nodejs ];
|
||||
|
Loading…
Reference in New Issue
Block a user