fix: grimorie bump to electron 40 #15

Closed
doloro wants to merge 14 commits from doloro/pkgs-nikkuss:grimorie into main
Showing only changes of commit 8d618dff18 - Show all commits
+5 -5
View File
@@ -10,7 +10,7 @@
gnumake,
pkg-config,
makeWrapper,
electron_39,
electron_40,
vpkmerge,
sqlite,
callPackage,
1
@@ -32,7 +32,7 @@
pname = "grimoire";
inherit version src;
fetcherVersion = 2;
Outdated
Review

bump to fetcherVersion 3

bump to fetcherVersion 3
hash = "sha256-ARJihXqqSVpzrA7qLGUFoQRW0ydgcIAunZJeFB3WN5s=";
hash = "sha256-CrVc0gO0CtesGHbGxnrFeDR3NahyaxGSI3lMHtbGfcM=";
};
in
stdenv.mkDerivation {
@@ -48,7 +48,7 @@ in
gnumake
pkg-config
makeWrapper
electron_39
electron_40
];
buildInputs = [
@@ -79,7 +79,7 @@ in
HOME="$TMPDIR" node \
"${nodejs_22}/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" \
rebuild \
--nodedir="${electron_39.headers}"
--nodedir="${electron_40.headers}"
)
pnpm exec electron-vite build
@@ -107,7 +107,7 @@ in
done
mkdir -p $out/bin
makeWrapper ${electron_39}/bin/electron $out/bin/grimoire \
makeWrapper ${electron_40}/bin/electron $out/bin/grimoire \
--add-flags "$out/lib/grimoire" \
--set ELECTRON_RESOURCES_PATH "$out/lib/grimoire" \
--set NODE_ENV production