Getting flake error: devshell attributes not provided
nova-nowiz opened this issue · 3 comments
nova-nowiz commented
I'm getting:
error: flake 'git+file:///home/<user>/vault/dev/Current/haskell-template' does not provide attribute 'devShells.x86_64-linux.devShell.x86_64-linux', 'packages.x86_64-linux.devShell.x86_64-linux', 'legacyPackages.x86_64-linux.devShell.x86_64-linux', 'devShell.x86_64-linux' or 'defaultPackage.x86_64-linux
I just updated from nix 2.4 to 2.7 so I made sure to run nix develop:
$ nix develop
error: flake 'git+file:///home/narice/vault/dev/Current/haskell-template' does not provide attribute 'devShells.x86_64-linux.devShell.x86_64-linux', 'packages.x86_64-linux.devShell.x86_64-linux', 'legacyPackages.x86_64-linux.devShell.x86_64-linux', 'devShell.x86_64-linux' or 'defaultPackage.x86_64-linux
$ nix --version
nix (Nix) 2.7.0pre20220127_558c4ee
Maybe there was a change in the flake structure recently?
srid commented
Let me know if the problem still appears after upgrading to 2.8!
nova-nowiz commented
Oh I didn't comment, yes, sorry for the duplicate, it's possible that this is the issue, thank you!