Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: qui 1.33.1 -> 1.36.0 https://github.com/autobrr/qui/releases attrpath: qui Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/qrvqvkn49f3k4xfaqcyfry7835ngg9z2-packages.json.drv building '/nix/store/qrvqvkn49f3k4xfaqcyfry7835ngg9z2-packages.json.drv'... Going to be running update for following packages: - qui-1.33.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - qui-1.33.1: UPDATING ... - qui-1.33.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/qu/qui/package.nix b/pkgs/by-name/qu/qui/package.nix index f09e69b7e96a..5fd70c2e902f 100644 --- a/pkgs/by-name/qu/qui/package.nix +++ b/pkgs/by-name/qu/qui/package.nix @@ -14,12 +14,12 @@ }: buildGo127Module (finalAttrs: { pname = "qui"; - version = "1.33.1"; + version = "1.36.0"; src = fetchFromGitHub { owner = "autobrr"; repo = "qui"; tag = "v${finalAttrs.version}"; - hash = "sha256-OW3KXiylC2AD5vw+uXnidwaST/ujbr+9yzoLh8qNJ/E="; + hash = "sha256-NUSiHlRrKzOHluq1HZ0dN6PjzlgFuDtKGQ2q2iuFiaQ="; }; qui-web = stdenvNoCC.mkDerivation (finalAttrs': { @@ -43,7 +43,7 @@ buildGo127Module (finalAttrs: { ; pnpm = pnpm_11; fetcherVersion = 4; - hash = "sha256-F+B1rj9fcgaDfPYC+8hUZfpNQNiiK9TnT/Ld68fW/WA="; + hash = "sha256-2gDYiO/tBJMAUR93jy8L9bG1IU8/Ebv4K+g6Gs7KT5k="; }; postBuild = '' @@ -55,7 +55,7 @@ buildGo127Module (finalAttrs: { ''; }); - vendorHash = "sha256-wJ2chWHNP24BH+QcIuJSWDfbMhPn0k0lc67QCN4w7uo="; + vendorHash = "sha256-j4KkQXCJFy+m9GG09CtPGIlBdHdsxhE/6Vn/vWr8ykQ="; preBuild = '' cp -r ${finalAttrs.qui-web}/* web/dist No auto update branch exists Old version 1.33.1" not present in staging derivation file with contents: { lib, buildGo127Module, fetchFromGitHub, stdenvNoCC, nixosTests, nix-update-script, nodejs, pnpm_11, fetchPnpmDeps, pnpmConfigHook, versionCheckHook, writableTmpDirAsHomeHook, }: buildGo127Module (finalAttrs: { pname = "qui"; version = "1.35.0"; src = fetchFromGitHub { owner = "autobrr"; repo = "qui"; tag = "v${finalAttrs.version}"; hash = "sha256-siNanqbdoYBPRCAznE5GrjSxdpGET6kzIVLrOsT3Yao="; }; qui-web = stdenvNoCC.mkDerivation (finalAttrs': { pname = "${finalAttrs.pname}-web"; inherit (finalAttrs) src version; nativeBuildInputs = [ nodejs pnpmConfigHook pnpm_11 ]; sourceRoot = "${finalAttrs.src.name}/web"; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs') pname version src sourceRoot ; pnpm = pnpm_11; fetcherVersion = 4; hash = "sha256-mSuYyypzioQ2H/CZG/LonTZvtZONk9gJk+5n5rJEO6I="; }; postBuild = '' pnpm run build ''; installPhase = '' cp -r dist $out ''; }); vendorHash = "sha256-p5dDcPhFgeA75Mi0Gv+F80H+TAQdjPqzmQSIQDMOnPQ="; preBuild = '' cp -r ${finalAttrs.qui-web}/* web/dist ''; ldflags = [ "-X github.com/autobrr/qui/internal/buildinfo.Version=${finalAttrs.version}" "-X main.PolarOrgID=" ]; nativeCheckInputs = [ writableTmpDirAsHomeHook ]; # some season-pack tests use non-existent source paths (e.g. /media/...) and # assert on a same-filesystem check that resolves them up to /. go's # t.TempDir honours $TMPDIR, which defaults to /build. so just point it to # something sane. We use realpath, because on macOS it's symliked to # /private/tmp during the build, and tests were failing when comparing # non-resolved paths to resolved paths. preCheck = '' export TMPDIR="$(realpath /tmp)" ''; checkFlags = [ # broken in sandbox for some reason "-skip=TestRollback" ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "version"; doInstallCheck = true; # Required for tests on Darwin __darwinAllowLocalNetworking = true; passthru = { updateScript = nix-update-script { extraArgs = [ "--subpackage" "qui-web" ]; }; tests.testService = nixosTests.qui; }; meta = { description = "Modern alternative webUI for qBittorrent, with multi-instance support"; license = lib.licenses.gpl2Plus; homepage = "https://github.com/autobrr/qui"; changelog = "https://github.com/autobrr/qui/releases/tag/v${finalAttrs.version}"; maintainers = with lib.maintainers; [ pta2002 AAAAAASomeThingsFailToEvaluate ]; mainProgram = "qui"; platforms = lib.platforms.unix; }; })