nix-update icon indicating copy to clipboard operation
nix-update copied to clipboard

Can't do hash update on Go module in a flake

Open nyarly opened this issue 1 year ago • 0 comments

I have a flake with an output like myprogram = pkgs.buildGoModule {..., and nix-update --flake --version=skip myprogram errors with:

error: value is null while a set was expected

       at «string»:22:5:

           21|    else
           22|     sanitizePosition (builtins.unsafeGetAttrPos "src" pkg);
             |     ^
           23| in {

(as an alternative, I tried extracting to a bare expression that I could callPackage, but since the package was then the file root, I couldn't figure out how to get nix-update to address it.)

nyarly avatar Mar 01 '24 18:03 nyarly