-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Providing nixGL command via flake #90
Comments
It should be |
If there is a difference between what you wrote and what I wrote, then I can't spot it. Copy-pasting your version into my local Nix expression gives exactly the same error as before. |
Same issue here. |
Did you pass |
I was using the
Is there a way to get it to work with |
You would need to tell devShell to be impure. Not sure how to do that. |
So I ended up simply using nixGLIntel directly to stay pure. |
You can tell direnv to use the flake impurely. Just put this in your |
Although, once you do have an impure flake in your direnv, I don't know how to get it to re-evaluate when |
Thank you for the ticket and for the discussion. Could we consider this as closed? Perhaps we can improve the documentation to state that we need to use |
Sorry, it's been a while since I've thought about this, and I don't have time right now to go over it and refresh my memory and check details. With that said, a quick read suggests that it seems reasonable to consider this closed. |
hey there, relatively new user here, thank you for the awesome project! I have been following this thread for a little while as I had a similar issue/requirement - I wanted to provide the
in my opinion it would also help to note that using just right, just my 2c. |
Thank you for the comment @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf The point of I'll add details in the doc. |
…ld with --impure Context: nix-community/nixGL#90
Just to clarify for versotile-org/verso#155 -> Is there a way to have a flake-based nix shell that is pure and has a working GL on a non-NixOS systems with nix? |
Halcyon Days of Old
Many moons ago I used
and
buildInputs = [ nixGL.nixGLDefault ];
to provide the
nixGL
command which automatically picked the correct implementation for whatever hardware I happened to be running.Harsh and Cruel Present
Now I'm trying to provide
nixGL
in a flake, roughly like thisand I get the errors shown in the comments.
How should I go about providing
nixGL
in adevShell
?The text was updated successfully, but these errors were encountered: