From eec6ee817b0d3a49d30c696e956686ae17f38ad4 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 17 Apr 2026 20:18:27 +0200 Subject: [PATCH] qbz: 1.2.4 -> 1.2.7 For whatever reason the default cargo tauri install phase builds the Debian package and the application binary is pulled out from there. With version 1.2.7 it's also required to sign the Debian package if it's built and not specified otherwise. So, while updating to 1.2.7, also add `--no-sign` since this is not targeting Debian and this is less effort than creating a customized install phase. Signed-off-by: Felix Singer --- pkgs/by-name/qb/qbz/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/qb/qbz/package.nix b/pkgs/by-name/qb/qbz/package.nix index 9cf729e63add..cc3d071a2a1e 100644 --- a/pkgs/by-name/qb/qbz/package.nix +++ b/pkgs/by-name/qb/qbz/package.nix @@ -22,23 +22,25 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "qbz"; - version = "1.2.4"; + version = "1.2.7"; src = fetchFromGitHub { owner = "vicrodh"; repo = "qbz"; tag = "v${finalAttrs.version}"; - hash = "sha256-3MPWLovWRmSrSfaR5ciZR2+4S7QzPYYVdVKP+mczhis="; + hash = "sha256-/7gYjCfMJ1TmjogGQWkRDgDaUZ8o03hVNxZ21w4xniU="; }; - cargoHash = "sha256-jc/OZi93S0Hu3ywuwNgekyezJ1qCvxWpE60mTu0Y8jU="; + cargoHash = "sha256-Xk1v5QosIgzowLpo5L0qaSNFKqoL+kfQeA6KCIImK8M="; cargoRoot = "src-tauri"; buildAndTestSubdir = finalAttrs.cargoRoot; + tauriBuildFlags = [ "--no-sign" ]; + npmDeps = fetchNpmDeps { name = "qbz-${finalAttrs.version}-npm-deps"; inherit (finalAttrs) src; - hash = "sha256-JN3lQyEX1n5G1OcWuRNZl/KSfL7JEfsc4opeh4F/iAY="; + hash = "sha256-xBad4Ms5dlE0jHZ5iKLS2dEujgIZahfNfcknJH9qoXM="; }; env.LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";