-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
golint package doesn't build #167717
Comments
Perhaps you should just drop
Anyway, I started to bisect which commit introduced the issue. |
I don't use it directly, it's been installed as a dependency of Is there a preferred way of deprecation notice or should I just reach out with an issue as I did here? |
Bisection took a while, as it had to compile GCC and systemd from scratch a couple of times…
My assumption is, that it is related to the fact that the exclude mechanism has been changed here. @mmlb any idea how to fix this? |
I see what the issue is.
I can revert that bit, but would like a moment to see if I can fix it better instead. |
Nevermind ^, golint is built with |
Ok figured it out, in that buggy commit I moved the exclusion logic out of |
The exclusion logic was moved out of getGoDirs but only buildPhase was updated causing checkPhase to possibly fail. This happened in golint as it has go files in testdata that are meant as testdata files and not go packages to test which caused the checkPhase to fail. Fixes NixOS#167717
#167912 has the fix. Verified that golint is fixed. |
Describe the bug
The
golint
package fromnixos-unstable
doesn't buildSteps To Reproduce
Steps to reproduce the behavior:
nix-env -iA nixos.golint
for instanceExpected behavior
package builds
Additional context
Happens also when installed as a dependency of some other packages via Home Manager.
Notify maintainers
@jhillyerd
@tomberek
Metadata
The text was updated successfully, but these errors were encountered: