From 7783213b3f9557d10381a8cf59860411c8a7e01d Mon Sep 17 00:00:00 2001 From: Josh Heinrichs Date: Tue, 8 Apr 2025 14:53:00 -0600 Subject: [PATCH] postman: fix passing args in darwin app wrapper Due to incorrect escaping, the wrapper script on Darwin currently bakes in "installerPhase" rather than "$@". Postman doesn't really seem to do anything with cli args as far as I can tell, but fixing this aligns it better with other packages that also provide app wrappers on Darwin. --- pkgs/by-name/po/postman/darwin.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/po/postman/darwin.nix b/pkgs/by-name/po/postman/darwin.nix index e14ad072e574..6eeb1104f6d3 100644 --- a/pkgs/by-name/po/postman/darwin.nix +++ b/pkgs/by-name/po/postman/darwin.nix @@ -50,7 +50,7 @@ stdenvNoCC.mkDerivation { cp -R . $out/Applications/${appName} cat > $out/bin/${pname} << EOF #!${stdenvNoCC.shell} - open -na $out/Applications/${appName} --args "$@" + open -na $out/Applications/${appName} --args "\$@" EOF chmod +x $out/bin/${pname} runHook postInstall