Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template project has error #272

Closed
peterbecich opened this issue Sep 2, 2023 · 1 comment · Fixed by #273
Closed

template project has error #272

peterbecich opened this issue Sep 2, 2023 · 1 comment · Fixed by #273
Labels
bug Something isn't working

Comments

@peterbecich
Copy link
Contributor

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 peterbecich added the bug Something isn't working label Sep 2, 2023
@peterbecich
Copy link
Contributor Author

This change to devshell.toml appears to fix it.

Replace

package = "devshell.hello"

with

package = "hello"

peterbecich added a commit to peterbecich/devshell that referenced this issue Sep 2, 2023
@bors bors bot closed this as completed in #273 Sep 4, 2023
zimbatm pushed a commit that referenced this issue Sep 16, 2023
* fix `nix develop` shell in template

#272

* template example from "Getting Started" documentation

A working example project put together from https://numtide.github.io/devshell/getting_started.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant