PATH-only dependencies in Nix shelll - Nix

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Soares Chen

Is there any way I can define runtime dependencies in Nix shell outside of buildInputs, such that the dependencies only have their /bin appended to $PATH and not other flags like $NIX_LDFLAGS? The reason is my team's Nix shell have many runtime dependencies, and they are polluting the the linker flags so much that it is indirectly causing argument list too long error on MacOS when running cabal build.