devenv icon indicating copy to clipboard operation
devenv copied to clipboard

Add inputsFrom option

Open BurNiinTRee opened this issue 1 year ago • 4 comments

This mimics the mkShell argument with the same name. Adds all buildInputs, nativeBuildInputs, etc. to the installed packages. Closes: #809

BurNiinTRee avatar Nov 03 '23 12:11 BurNiinTRee

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

I-Want-ToBelieve avatar Nov 22 '23 21:11 I-Want-ToBelieve

We need a test for this.

domenkozar avatar Feb 17 '24 03:02 domenkozar

I don't like the name, because inputs already refer to flake inputs.

Maybe shellFor?

domenkozar avatar Mar 06 '24 04:03 domenkozar

Could you rebase?

domenkozar avatar Mar 22 '24 08:03 domenkozar