hallowed-barista-57078
03/14/2026, 7:45 PM> nurl https://git.sr.ht/~raphi/somebar/ 1.0.3
$ nix flake prefetch --extra-experimental-features 'nix-command flakes' --json sourcehut:~raphi/somebar/1.0.3
fetchFromSourcehut {
owner = "~raphi";
repo = "somebar";
rev = "1.0.3";
hash = "sha256-PBxCy1dZrOL1nmhVDQozvF0XL79uKMhhERGNpPPzaRU=";
}jolly-camera-78553
03/14/2026, 7:50 PMlib.fakeHash and then update the hash with the one it prints when it fails. Nurl looks way better 😂hallowed-barista-57078
03/14/2026, 7:52 PMhallowed-barista-57078
03/14/2026, 7:53 PMhallowed-barista-57078
03/14/2026, 7:53 PMlib.fakeHash was a thing but it should tell us that there's gotta be a better solutionjolly-camera-78553
03/14/2026, 7:53 PMjolly-camera-78553
03/14/2026, 7:55 PMlib.fakeHash, update the hash after failure) is the documented way to get hashes in nixpkgs manual: https://nixos.org/manual/nixpkgs/stable/#chap-pkgs-fetchers-caveatsjolly-camera-78553
03/14/2026, 7:56 PMnix-prefetch-url is terrible, too -- so makes sense that a tool like nurl would fix ithallowed-barista-57078
03/14/2026, 7:57 PMjolly-camera-78553
03/14/2026, 7:57 PMhallowed-barista-57078
03/14/2026, 7:59 PMhallowed-barista-57078
03/14/2026, 7:59 PMjolly-camera-78553
03/14/2026, 8:00 PMnix init for flakes.jolly-camera-78553
03/14/2026, 8:00 PMnix init, too, if there are standard tools/layout you want in all your flakeshallowed-barista-57078
03/14/2026, 8:01 PMhallowed-barista-57078
03/14/2026, 8:03 PMjolly-camera-78553
03/14/2026, 8:06 PMhallowed-barista-57078
03/14/2026, 8:08 PMhallowed-barista-57078
03/14/2026, 8:08 PMjolly-camera-78553
03/14/2026, 8:08 PMcd-ing into a projectjolly-camera-78553
03/14/2026, 8:12 PMjolly-camera-78553
03/14/2026, 8:14 PMhallowed-barista-57078
03/14/2026, 8:39 PMhallowed-barista-57078
03/14/2026, 8:39 PM