numtide / devshell

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

template project has error #272

Closed peterbecich closed 10 months ago

peterbecich commented 10 months ago

Describe the bug

error: package "devshell.hello" not found

To Reproduce

Check out the template:

nix flake new -t "github:numtide/devshell" foo3

cd foo3

then

direnv allow

or

nix develop

as described here: https://numtide.github.io/devshell/getting_started.html#nix-flakes

Expected behavior

nix develop shell starts successfully

System information

Debian, Nix 2.17.0

Additional context

peterbecich commented 10 months ago

This change to devshell.toml appears to fix it.

Replace

package = "devshell.hello"

with

package = "hello"