mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 00:18:10 +00:00
iterm2: fix passing args on the cli
If I try to run iterm2 on the cli, I get prompted to approve running "installerPhase". We appear to be accidentally baking this into the wrapper script rather than "$@" due to improper escaping.
This commit is contained in:
parent
8cc0451ead
commit
1b1672bc9d
@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
mkdir -p "$out/bin"
|
||||
cat << EOF > "$out/bin/iterm2"
|
||||
#!${stdenvNoCC.shell}
|
||||
open -na "$APP_DIR" --args "$@"
|
||||
open -na "$APP_DIR" --args "\$@"
|
||||
EOF
|
||||
chmod +x "$out/bin/iterm2"
|
||||
runHook postInstall
|
||||
|
Loading…
Reference in New Issue
Block a user