Conversation
shellify allows generating shell.nix from ad-hoc #Nix environments:

https://github.com/danielrolls/shellify

Why isn't this a core feature??
2
1
4

@buherator I usually know if I need a long-term development shell beforehand.

1
0
0

@buherator Hah. Sorry. Didn't mean to be snarky.

I think this would be a good core feature for `nix develop`, I just never considered needing it going into working with a script. Definitely useful for a lot of people.

0
0
1

@buherator Guix actually has this, guix shell --export-manifest. Disappointing indeed that Nix doesn't. I like the package availability that switching to Nix gave me access to, but they should definitely steal some ideas for CLI design from Guix.

0
0
1