Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nyarly opened this issue Mar 1, 2024 · 0 comments
Open

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

nyarly opened this issue Mar 1, 2024 · 0 comments

Comments

@nyarly
Copy link

nyarly commented Mar 1, 2024

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant