I’ve got a local unstable package and I want it to always be at the latest commit from its source’s upstream. For that I added passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; in the package, but when I build the package/install it, it doesn’t update.
I don’t wanna have to manually update the source’s rev and hash, maybe I’m just not using it right ?
This is the package: https://codeberg.org/claymorwan/dotfiles/src/commit/9ca46a651a16a5dc85f35d3c0d19bcd03d692fdd/NixOS/pkgs/fluxer/default.nix
And this is how I install it in my config: https://codeberg.org/claymorwan/dotfiles/src/commit/9ca46a651a16a5dc85f35d3c0d19bcd03d692fdd/NixOS/modules/home/Packages/default.nix#L41


Well that does works, idk if it’s the best way to do so tho, I did reuse ur timestamp function tho thanks