You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However it still does not work properly, so I'm putting this here in the hope that
devenv gains this functionality by default (either by exposing a function or directly as an option for shells)
someone notices what I did wrong
For more details on the error I am seeing:
I have a flake using flake.parts with this devenv section:
devenv.shells.default={packages=[# rust toolchain and some other tools]++inputs-from(builtins.attrValuesself'.checks);};
Which results in linker errors that cc is not found, so I'm assuming the function I wrote is faulty.
The Original version using nixpkgs.lib.mkShell worked fine:
devShells.default=pkgs.mkShell{inputsFrom=builtins.attrValuesself'.checks;nativeBuildInputs=[# rust toolchain and some other tools];};
The text was updated successfully, but these errors were encountered:
Hi,
nixpkgs.lib.mkShell
has the ability to get all inputs from a list of derivations. This is useful to not require respecification of dependencies.I tried adapting the code from
nixpkgs.lib.mkShell
and got this function:However it still does not work properly, so I'm putting this here in the hope that
For more details on the error I am seeing:
I have a flake using flake.parts with this devenv section:
Which results in linker errors that cc is not found, so I'm assuming the function I wrote is faulty.
The Original version using
nixpkgs.lib.mkShell
worked fine:The text was updated successfully, but these errors were encountered: