Update cinny
This commit is contained in:
parent
f287ac426a
commit
fba02c0c19
2 changed files with 11 additions and 9 deletions
|
|
@ -18,19 +18,19 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "cinny-desktop";
|
pname = "cinny-desktop";
|
||||||
version = "4.10.6a";
|
version = "4.11.1";
|
||||||
|
|
||||||
# nixpkgs-update: no auto update
|
# nixpkgs-update: no auto update
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cinnyapp";
|
owner = "cinnyapp";
|
||||||
repo = "cinny-desktop";
|
repo = "cinny-desktop";
|
||||||
rev = "1e8d28faee9acef767a71ba7fe31243eb703a351";
|
tag = "v4.11.2";
|
||||||
hash = "sha256-rPLz9kfm2cp1zKk7sKrybN8ooCduoM3w+xmn0pdXM8w=";
|
hash = "sha256-iH3OBpLM5JyFo5QLjHSvGMgl0xDP9hpfngW49hvjLMY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.src.name}/src-tauri";
|
sourceRoot = "${finalAttrs.src.name}/src-tauri";
|
||||||
|
|
||||||
cargoHash = "sha256-28kaU/vChINQgrzplIF25s6MQ+S3LcrfqSQMziSAFJk=";
|
cargoHash = "sha256-g1xDdqmouHD+qr5OvO2PVjFKAy2AXiatuTrLfh/QxAE=";
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
let
|
let
|
||||||
|
|
@ -44,9 +44,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
# 'del(.app.windows) | del(.plugins.updater) | .bundle.createUpdaterArtifacts = false | .build.frontendDist = "${cinny'}" | del(.build.beforeBuildCommand)' tauri.conf.json \
|
||||||
''
|
''
|
||||||
${lib.getExe jq} \
|
${lib.getExe jq} \
|
||||||
'del(.app.windows) | del(.plugins.updater) | del(.bundle.createUpdaterArtifacts) | .build.frontendDist = "${cinny'}" | del(.build.beforeBuildCommand)' tauri.conf.json \
|
'del(.plugins.tauri.updater) | .bundle.createUpdaterArtifacts = false | .build.frontendDist = "${cinny'}" | del(.build.beforeBuildCommand)' tauri.conf.json \
|
||||||
| ${lib.getExe' moreutils "sponge"} tauri.conf.json
|
| ${lib.getExe' moreutils "sponge"} tauri.conf.json
|
||||||
cat tauri.conf.json
|
cat tauri.conf.json
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -8,22 +8,23 @@
|
||||||
buildNpmPackage {
|
buildNpmPackage {
|
||||||
pname = "cinny-unwrapped";
|
pname = "cinny-unwrapped";
|
||||||
# Remember to update cinny-desktop when bumping this version.
|
# Remember to update cinny-desktop when bumping this version.
|
||||||
version = "4.10.6a";
|
version = "4.11.1";
|
||||||
|
|
||||||
# nixpkgs-update: no auto update
|
# nixpkgs-update: no auto update
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cinnyapp";
|
owner = "cinnyapp";
|
||||||
repo = "cinny";
|
repo = "cinny";
|
||||||
# rev = "55e83065767645ed7cd510a6f4b5cf4733b000b4";
|
# rev = "55e83065767645ed7cd510a6f4b5cf4733b000b4";
|
||||||
tag = "v4.10.5";
|
tag = "v4.11.1";
|
||||||
# hash = "sha256-2qxmlj4IK6twDh27R6qMJDmYSfsWoofVGuRHxSP72f0=";
|
# hash = "sha256-2qxmlj4IK6twDh27R6qMJDmYSfsWoofVGuRHxSP72f0=";
|
||||||
hash = "sha256-Napy3AcsLRDZPcBh3oq1U30FNtvoNtob0+AZtZSvcbM=";
|
hash = "sha256-dwI3zNey/ukF3t2fhH/ePf4o4iBDwZyLWMYebPgXmWU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nodejs = nodejs_22;
|
nodejs = nodejs_22;
|
||||||
|
|
||||||
# npmDepsHash = "sha256-qyQ0SXkPSUES/tavKzPra0Q+ZnU9qHvkTC1JgAjL0o8=";
|
# npmDepsHash = "sha256-qyQ0SXkPSUES/tavKzPra0Q+ZnU9qHvkTC1JgAjL0o8=";
|
||||||
npmDepsHash = "sha256-2Lrd0jAwAH6HkwLHyivqwaEhcpFAIALuno+MchSIfxo=";
|
# npmDepsHash = "sha256-2Lrd0jAwAH6HkwLHyivqwaEhcpFAIALuno+MchSIfxo=";
|
||||||
|
npmDepsHash = "sha256-27WFjb08p09aJRi0S2PvYq3bivEuG5+z2QhFahTSj4Q=";
|
||||||
|
|
||||||
# Skip rebuilding native modules since they're not needed for the web app
|
# Skip rebuilding native modules since they're not needed for the web app
|
||||||
npmRebuildFlags = [
|
npmRebuildFlags = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue