Settings

Theme

Using Nix-shell to create reproducible embedded development environments

dnedic.github.io

4 points by dnedic 2 years ago · 1 comment

Reader

wryoak 2 years ago

I recently started using nix but something I haven’t found yet is an ability to dump the current nix shell environment to a shell.nix file

Eg, I invoke `nix-shell -p somepkg anotherapp andathird`, per the manual, decide it’s a satisfactory setup, and so I want to save that to a shell.nix to keep using - does this functionality exist through some command or tertiary app?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection