Help!
Just did a:
nix flake update
sudo nixos-rebuild switch --flake .#
and got this error:
error: cached failure of attribute 'nixosConfigurations.framework.config.system.build.toplevel'
I am running nixos unstable.
Help!
Just did a:
nix flake update
sudo nixos-rebuild switch --flake .#
and got this error:
error: cached failure of attribute 'nixosConfigurations.framework.config.system.build.toplevel'
I am running nixos unstable.
try this Nix flakes should not cache evaluation errors · Issue #3872 · NixOS/nix · GitHub and you can find out what’s going wrong
Thanks.
Here’s the error:
error:
Failed assertions:
- Importing framework/ (default.nix) directly is deprecated! See https://github.com/NixOS/nixos-hardware/blob/df9bb8a436607da124e8cfa0fd19e70e9d9e0b7b/framework/OLD-BEHAVIOUR-DEPRECATED.md for more details.
The link gives a 404…
the link is fixed here and has been merged: Fixed broken links in deprecation assertions for framework and surface modules by naufik · Pull Request #779 · NixOS/nixos-hardware · GitHub
posting here also: https://github.com/NixOS/nixos-hardware/blob/df9bb8a436607da124e8cfa0fd19e70e9d9e0b7b/framework/OLD-BEHAVIOUR-DEPRECATION.md
Thanks. That worked. I didn’t think it was referring to my ‘Framework’ laptop. It is a dumb name because of confusion like this.