Managing System Packages Problem: `error: flake input attribute 'helix' is a thunk while a string, Boolean, or integer is expected`
mikelane opened this issue · comments
I've followed the directions here, but I'm getting the following error:
❯ sudo nixos-rebuild switch
error:
… while evaluating flake attribute 'helix'
at /nix/store/fdhl5n49pbjlvmr8pqmgai03cpbsmj03-source/flake.nix:26:7:
25| # Helix editor, using version 23.05
26| helix.url = "github:helix-editor/helix/23.05";
| ^
27| };
error: flake input attribute 'helix' is a thunk while a string, Boolean, or integer is expected
❯
Any idea how to fix this?
Oof, nevermind. I had put that into the inputs.home-manager
instead of into the inputs
in the flake.nix.
note: I did have to run sudo nixos-rebuild switch --flake /etc/nixos#nixos-test
instead of just sudo nixos-rebuild switch
to get helix to build. The docs leaves off the --flakes ...
part.