Skip to content

Commit a9200a8

Browse files
wealthfolio: deactivate the upstream updater (NixOS#373198)
2 parents 0d1eed2 + dc1fa5e commit a9200a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pkgs/by-name/we/wealthfolio/package.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
stdenv,
44
fetchFromGitHub,
55
cargo-tauri,
6+
jq,
67
libsoup_3,
8+
moreutils,
79
nodejs,
810
openssl,
911
pkg-config,
@@ -41,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: {
4143

4244
nativeBuildInputs = [
4345
cargo-tauri.hook
46+
jq
47+
moreutils
4448
nodejs
4549
pkg-config
4650
pnpm.configHook
@@ -54,6 +58,14 @@ stdenv.mkDerivation (finalAttrs: {
5458
webkitgtk_4_1
5559
];
5660

61+
postPatch = ''
62+
jq \
63+
'.plugins.updater.endpoints = [ ]
64+
| .bundle.createUpdaterArtifacts = false' \
65+
src-tauri/tauri.conf.json \
66+
| sponge src-tauri/tauri.conf.json
67+
'';
68+
5769
passthru.updateScript = nix-update-script { };
5870

5971
meta = {

0 commit comments

Comments
 (0)