Skip to content

Commit 1c29bf1

Browse files
committed
1 parent a0a35b6 commit 1c29bf1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

pkgs/applications/editors/standardnotes/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
electron,
88
libsecret,
99
asar,
10+
python3,
1011
glib,
1112
desktop-file-utils,
1213
callPackage,
@@ -53,6 +54,13 @@ stdenv.mkDerivation rec {
5354
mkdir -p $out/bin $out/share/standardnotes
5455
cp -R usr/share/{applications,icons} $out/share
5556
cp -R opt/Standard\ Notes/resources/app.asar $out/share/standardnotes/
57+
cp -R opt/Standard\ Notes/resources/app.asar.unpacked $out/share/standardnotes/
58+
rm $out/share/standardnotes/app.asar.unpacked/node_modules/cbor-extract/build/node_gyp_bins/python3
59+
ln -s ${python3.interpreter} $out/share/standardnotes/app.asar.unpacked/node_modules/cbor-extract/build/node_gyp_bins/python3
60+
${lib.optionalString stdenv.hostPlatform.isAarch64 ''
61+
rm $out/share/standardnotes/app.asar.unpacked/node_modules/microtime/build/node_gyp_bins/python3
62+
ln -s ${python3.interpreter} $out/share/standardnotes/app.asar.unpacked/node_modules/microtime/build/node_gyp_bins/python3
63+
''}
5664
asar e $out/share/standardnotes/app.asar asar-unpacked
5765
find asar-unpacked -name '*.node' -exec patchelf \
5866
--add-rpath "${libPath}" \
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"version": "3.181.23",
2+
"version": "3.195.13",
33
"deb": {
44
"x86_64-linux": {
5-
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-amd64.deb",
6-
"hash": "sha512-zWjST3guI0qifvZIwSLJ0nIpU12Mu3+m25Xdoqv0BQC7tscChEdCGUAJRUKHEf0b8l4uvp8qBGHiBOfbrIi//w=="
5+
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.195.13/standard-notes-3.195.13-linux-amd64.deb",
6+
"hash": "sha512-z7tZkOvzYzEPhu3rz8PG7mWdEua1z2ToVoj6l2wmvZUx/nS6lQ3yIFhEvpnMyXRZ2qDn4ihnBT20fyZttvkjMQ=="
77
},
88
"aarch64-linux": {
9-
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-arm64.deb",
10-
"hash": "sha512-7R5Ym44mrVgUiqdt6NL8F9uUUOroQRxwn30xKThyIQm2HGRUJivRfOws98El9zV8bKG1khk4DZaMiLQSMjrtaQ=="
9+
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.195.13/standard-notes-3.195.13-linux-arm64.deb",
10+
"hash": "sha512-c9p7aLCkcqdtx/X2vrmb5GCyc7JtR9O9GVwrkgGPJpZ0FdSR5zhX0nI9sJFHBIA/GuPuDYOM4fimyfpQzy0Nfw=="
1111
}
1212
}
1313
}

0 commit comments

Comments
 (0)