-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
"! nh 4.0.0-beta.5 now uses NH_FLAKE instead of FLAKE" #199
Comments
nixos-unstable still uses 3.6.0 https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/nh/nh/package.nix#L14 but once 4.0.0 is actually released this line needs to be updated to NH_FLAKE instead of FLAKE https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/programs/nh.nix#L80 feel free to define environment.variables.NH_FLAKE to the location to suppress the warning until it is updated |
or update your line here to NH_FLAKE https://github.com/novoid/nixos-config/blob/main/homemanager.nix#L18 |
Note that I might change the env vars again before 4.0 |
Thank you for the tip. I adapted said line in novoid/nixos-config@0feaeaf However, this did not remove the warning message:
|
I'm running NixOS stable with the latest nh according to https://github.com/novoid/nixos-config
Since a couple of days (weeks?) I got the following message when running nh:
I could not find anything related to "NH_FLAKE" in my search engine: https://duckduckgo.com/?t=ffab&q=nh_flake&ia=web and I don't have any clue what it means and what I need to change ...
Thanks for any clarification.
The text was updated successfully, but these errors were encountered: