-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Spam due to lib.warn
usages in aliases.nix
when running nix search
for the first time.
#10882
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/how-to-introduce-a-breaking-version-bump/46746/10 |
Nixpkgs issue: NixOS/nixpkgs#306276 |
Then it follows that |
Yea I too can't sketch a situation where an end user would want to know about these warnings - |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
Does the new builtins.warn help with this? |
Potentially, though I think
|
That's a worthwhile Nix quality of life feature. I'm assuming there's no way for evaluation or lib.warn to understand that it's being called in a |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2024-08-21-nix-team-meeting-minutes-171/50950/1 |
Describe the bug
I'm using
nixos-unstable
, and for the sake of demonstration, I took anix search
that for sure isn't cached for me:This is too noisy.
Steps To Reproduce
nix search
a nixpkgs revision that is not cached.nix
.Expected behavior
No warnings
nix-env --version
outputAdditional context
This has bugged me for a while, but now that https://discourse.nixos.org/t/how-to-introduce-a-breaking-version-bump/46746/9 is being discussed, I thought this should be reported.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: