You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding was that flake-compat could be used to enable the use of flakes with stable Nix. However, when I run nix-shell for my devShell based project, I receive:
error: experimental Nix feature 'flakes' is disabled; add '--extra-experimental-features flakes' to enable it
Am I misunderstanding the purpose of flake-compat?
The text was updated successfully, but these errors were encountered:
The purpose is to allow you to import a flake into a non-flake Nix project.
for my devShell based project,
If you're making your own flake.nix, and using flake-enabled commands such as nix shell (you mentioned nix-shell, but I'm not sure if you meant to?), you still need to enable the flakes experimental feature.
My understanding was that
flake-compat
could be used to enable the use of flakes with stable Nix. However, when I runnix-shell
for my devShell based project, I receive:Am I misunderstanding the purpose of
flake-compat
?The text was updated successfully, but these errors were encountered: