-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
featureFeature request or proposalFeature request or proposal
Description
Is your feature request related to a problem?
With the v2 interface I can create fully functional dev shells from a single command without the necessity of declaring them in a file:
$ nix-shell -p pkg-config openssl --run 'pkg-config --libs openssl'
-L/nix/store/954l60hahqvr0hbs7ww6lmgkxvk8akdf-openssl-3.4.1/lib -lssl -lcrypto
There is no way known to me (and many other people I have asked) to reproduce this behavior with the v3 CLI.
Proposed solution
Provide a flag for nix develop that is capable of mimicking the nix-shell -p behavior.
Alternative solutions
Additional context
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.
plietar
Metadata
Metadata
Assignees
Labels
featureFeature request or proposalFeature request or proposal