-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Problem: gomod2nix don't call correct version of golang #91
Comments
Closes: nix-community#91 `updateScript` will use the same golang version to update the project.
Hi folks, sorry for chiming in. Had an issue where using
I also can't seem to "force" it to get Go 1.18 with the following snippet: { pkgs ? (
let
sources = import ./nix/sources.nix;
in
import sources.nixpkgs {
overlays = [
(import "${sources.gomod2nix}/overlay.nix")
];
}
)
}:
pkgs.mkShell {
packages = [
pkgs.go_1_18
pkgs.gomod2nix
pkgs.niv
];
} Which spews the following error:
On the other hand, changing to
Meanwhile, that issue should've been resolved a year ago, as I can run Was wondering if this is the same issue? |
the haskell dependency is brought in by |
|
The gomod2nix executable included in the overlay is a wrapper script that always uses the prepackaged
go 1.17
, which causes a problem in go 1.18 projects.The text was updated successfully, but these errors were encountered: