-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
[Bug] attribute 'lib' missing
when attempting to use stylix
#47
Comments
Are you sure you're importing the stylix module ? That may be the problem... I can't tell much more without having an example of a configuration that produces this problem. |
Yes I am. I will push my code changes to my forge and send a link to the relevant files. |
Ok, so
The way I build this is with |
This has been reported before (#20), although it was never clear what caused it. I would assume something outside of Stylix is the problem? You have a lot of flake inputs, and the latest commit works fine with a minimal config. If this is the case, perhaps moving our utils into the |
Well, I don't know what exactly the problem would be, but I would be glad to test any potential changes. I may fork and try to put everything in a |
Maybe it's due to the fact that |
So, I ran into a similar problem and I've got some debugging information that may help. The error I received was:
Now, if I--before I even load The If I'm not mistaken, that In an effort to prove this out, I walked
Different, yes, but still in the GNOME module. I went one further step and walked it back to ce781e1. The evaluation succeeded. My bone-headed suggestion would be to set a default of |
Nope. The fork idea didn't work. I do not understand the magic. Hopefully meaning can be found in the above... |
Couldn't leave it alone. This seems to be work great:
Gleaned from here: https://nixos.org/manual/nix/unstable/language/operators.html#attribute-selection |
Is this still an issue? |
Sort of, new problems have arisen that hit before this problem so I'm not 100% sure if it's gone. The defaults in a lot of places are breaking because recursion is trying to use the default before the definition the default is based upon exists. The latest instance I get (w/ commit 4da2d79) is:
This problem can be worked around by shimming in a module prior to stylix that just defines an empty Why commit 4da2d79 you ask? Well, the commit AFTER that creates a separate problem:
This one doesn't have a simple work around. |
@jboyens I'm also running into the same issue with |
I have also encountered this issue. In my case, simply adding |
New user, |
I'm using stylix in a nix config, and whenever I try to evaluate my system configuration, it errors out.
The error is:
I don't know what is causing this problem, but if you can help, that would be much appreciated. Please let me know if there are any other details you need.
The text was updated successfully, but these errors were encountered: