-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Comma tries to use nix-channels with flakes #43
Comments
Currently we're checking if NIX_PATH contains nixpkgs(users usually remove it if using flakes) and determining if we should use flakes or channels Line 106 in c83ff38
what is the output of |
Isn't there a better way to find out if a user is using flakes? I use flakes, but NIX_PATH is set by default. Line 50 in c83ff38
|
I ran into this same issue. I use flakes, and my
which happens to contain "nixpkgs" in one of the entries, making comma think I am using channels. To fix it, i had to add After this addition,
I wonder if the |
fixed e27a636 thanks for the report |
implemented in 17a4f33 |
nix-community/comma#43 In my case, $NIX_ENV is not even defined, but still fails.
My current |
To hopefully save others finding this issue through the error mentioned above some time: if you have Until this is fixed in Nix and/or NixOS, you may have to mess with settings a bit to get (I think comma could check for nixpkgs in |
I installed comma with:
$ nix profile install github:nix-community/comma
When running:
, cbonsai
I get:The text was updated successfully, but these errors were encountered: