-
Notifications
You must be signed in to change notification settings - Fork 31
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
4 packages raising "undefined variable" error #11
Comments
I reinstalled NixOS with the Plasma desktop environment. The issue remains the same. Here's the trace of
|
Hi @XNM1 , any ideas on how to fix this issue? |
@XNM1 any ideas? i have same error |
Hi, sorry for the delay in responding. I have some suggestions regarding the errors you're encountering:
|
I solved the problem with hyprcursor, hyprlock and hypridle packages with run |
I found a solution for the problem of missing the latest packages when applying the configuration. From now on, I suggest using the following command instead of sudo nixos-rebuild switch --flake /etc/nixos#your-hostname --update-input nixpkgs --update-input rust-overlay --commit-lock-file --upgrade This command updates channels in the flake to the latest and applies the settings. I've already updated the |
Hi there,
I'm migrating from Arch to Nix and I'm having a hard time on understanding Flakes.
I installed NixOS on my machine with the "No desktop" option. Then, I followed all the steps provided in the project's README.md file, but, when running
sudo nixos-rebuild switch --flake /etc/nixos#nixos-notebook
, an error message was raised, stating the following:I tried to comment out surrealist, since it wasn't a package that important to me, then tried rerunning
nixos-rebuild
and it raised the same error, undefined variable, for hyprcursor. I found myself in a rabbit hole. I commented out 4 packages in total:After removing these packages I ran
sudo nixos-rebuild switch --flake /etc/nixos#nixos-notebook
again and it finished with the following message:(but it DID generate a new build)
I checked out and it seems that all the packages raising the "undefined variable" error are only available in the unstable branch of nixpkgs, but I noticed that the "flake.nix" already seems to maintain the unstable branch as the input for the flakes. Any idea on how to fix this one?
Also, I tried running
sudo nixos-rebuild switch --flake /etc/nixos#nixos-notebook --show-trace > call_stack.txt
but the content keeps being printed out in my CLI instead of being redirected to the file. Am I doing something wrong here?The text was updated successfully, but these errors were encountered: