numtide / devshell

Per project developer environments
https://numtide.github.io/devshell/
MIT License
1.18k stars 86 forks source link

fix: use devShells.default on template flake #282

Closed WolfangAukang closed 8 months ago

WolfangAukang commented 9 months ago

When using nix flake check, we get a deprecated warning:

> nix flake check
warning: updating lock file '/tmp/devshell/templates/toml/flake.lock':
• Added input 'flake-compat':
    'github:edolstra/flake-compat/0f9255e01c2351cc7d116c072cb317785dd33b33' (2023-10-04)
warning: flake output attribute 'devShell' is deprecated; use 'devShells.<system>.default' instead

This PR fixes this warning.

zimbatm commented 8 months ago

thanks!