This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tincr: bump to lassulus/fixes 97b055f7 (lint fix for #101, darwin utun v4 route)

update.sh: the hash probes ran under pipefail/errexit, so an expected hash-mismatch build produced an empty result and the script exited without touching the hashes.

+17 -9
+3 -3
flake.lock
··· 1135 1135 ] 1136 1136 }, 1137 1137 "locked": { 1138 - "lastModified": 1789400084, 1139 - "narHash": "sha256-HE+MuL2nE4MHp8pfcu2p4jgyqVowlXQfNTL3/T+2C+8=", 1138 + "lastModified": 1789400864, 1139 + "narHash": "sha256-sJ5sH0cP0+bEjFSspkP339jzwrSolZoYUVKopg8NDqc=", 1140 1140 "owner": "Lassulus", 1141 1141 "repo": "tincr", 1142 - "rev": "a101c6292323709769b970ba21b3a4610ea600d6", 1142 + "rev": "97b055f71ef80ea4b2d3e1e87b8819968ec00697", 1143 1143 "type": "github" 1144 1144 }, 1145 1145 "original": {
+2 -2
5pkgs/tincr/package.nix
··· 16 16 src = fetchFromGitHub { 17 17 owner = "Lassulus"; 18 18 repo = "tincr"; 19 - rev = "b39022c8ee1cecc91036f6f53d7a5f48102bae41"; 20 - hash = "sha256-O7skZmTmaqGAAC49TGuRjs6wLWsulzCWOUlI38K191s="; 19 + rev = "97b055f71ef80ea4b2d3e1e87b8819968ec00697"; 20 + hash = "sha256-sJ5sH0cP0+bEjFSspkP339jzwrSolZoYUVKopg8NDqc="; 21 21 }; 22 22 23 23 cargoHash = "sha256-RcyJ7NV3EH6GeIbapsQGJLBx8BkWbiFeeR4CB8k12ak=";
+12 -4
5pkgs/tincr/update.sh
··· 45 45 46 46 build_attr=".#packages.$system.$attr" 47 47 48 - if got=$(nix build --no-link "$build_attr" 2>&1 | tee /dev/stderr | extract_got) \ 49 - && [ -n "$got" ]; then 48 + # The probe build is *expected* to fail (hash mismatch); `|| true` keeps 49 + # pipefail/errexit from turning that into an empty `got`. awk must not 50 + # `exit` early or tee dies of SIGPIPE and takes the pipeline with it. 51 + probe_hash() { 52 + { nix build --no-link "$build_attr" 2>&1 || true; } | tee /dev/stderr \ 53 + | awk '/got:/ && !seen { print $2; seen = 1 }' || true 54 + } 55 + 56 + got=$(probe_hash) 57 + if [ -n "$got" ]; then 50 58 update_hash hash "$got" 51 59 echo "$attr: src hash → $got" 52 60 fi 53 61 54 - if got=$(nix build --no-link "$build_attr" 2>&1 | tee /dev/stderr | extract_got) \ 55 - && [ -n "$got" ]; then 62 + got=$(probe_hash) 63 + if [ -n "$got" ]; then 56 64 update_hash cargoHash "$got" 57 65 echo "$attr: cargoHash → $got" 58 66 fi