Unverified Commit 7783213b authored by Josh Heinrichs's avatar Josh Heinrichs
Browse files

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.
parent 8cc0451e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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