I am getting...

error: experimental Nix feature 'flakes' is disabled; use '--extra-experimental-features flakes' to override

...when trying to run nix-shell from plutus-apps repo.

Does anybody know how I can enable flakes?

I am using the latest commit 7952b9d30d15779a7fd8103bdbc9612d5df18ec2.

1 Answer 1


There are two ways of fixing this issue:


Add --experimental-features 'nix-command flakes' when calling the nix-shell command.


Edit either ~/.config/nix/nix.conf or /etc/nix/nix.conf and add:

experimental-features = nix-command flakes

For more information you can refer to: https://github.com/input-output-hk/plutus-apps/#nix-1


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.