MercuryTechnologies / nix-your-shell

A `nix` and `nix-shell` wrapper for shells other than `bash`
MIT License
85 stars 12 forks source link

Add `--` to `nix-your-shell` invocations #15

Closed 9999years closed 1 year ago

9999years commented 1 year ago

This fixes extra arguments. Before, you'd see this if you tried to use any arguments with nix-shell or nix develop:

$ nix develop --command whatever
error: unexpected argument '--command' found

  note: to pass '--command' as a value, use '-- --command'

Usage: nix-your-shell <SHELL> nix <ARGS>

For more information, try '--help'.
github-actions[bot] commented 1 year ago

A PR to release these changes has been created, bumping the version from 1.0.1 to 1.0.2.