devenv
devenv copied to clipboard
Add inputsFrom option
This mimics the mkShell argument with the same name. Adds all buildInputs, nativeBuildInputs, etc. to the installed packages. Closes: #809
I ran into a problem when trying to install treefmt-nix with the instructions , this PR looks to fix it.
Add config.treefmt.build.wrapper to the nativeBuildInputs of your devShell. This will make the treefmt command available in the shell using the specified configuration.
https://github.com/srid/rust-nix-template/blob/50cf0bae8990b8d2f6038739880693cc0ab36cc0/flake.nix#L37
We need a test for this.
I don't like the name, because inputs already refer to flake inputs.
Maybe shellFor
?
Could you rebase?