From 9538e395495211268b461ceab7fe6fd1f0b2bc6e Mon Sep 17 00:00:00 2001 From: Daniel Woffinden Date: Wed, 11 Mar 2026 23:14:20 +0000 Subject: [PATCH] cgtcalc: auto-update from the default branch Upstream doesn't have any useful tags. Note that updating past the current rev will fail to compile until nixpkgs gets swift 6 support: https://github.com/NixOS/nixpkgs/issues/343210 But _not_ specifying this leads to confusing PRs: https://github.com/NixOS/nixpkgs/pull/498904 --- pkgs/by-name/cg/cgtcalc/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/cg/cgtcalc/package.nix b/pkgs/by-name/cg/cgtcalc/package.nix index eae6cbd7e32e..c3720fb38c9e 100644 --- a/pkgs/by-name/cg/cgtcalc/package.nix +++ b/pkgs/by-name/cg/cgtcalc/package.nix @@ -45,7 +45,9 @@ stdenv.mkDerivation (finalAttrs: { # https://github.com/NixOS/nixpkgs/issues/379859 doCheck = false; - passthru.updateScript = nix-update-script { }; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; meta = { description = "UK capital gains tax calculator written in Swift";