From 404de92e2cfa8d630bb7ced5ea7c8bc3c18da990 Mon Sep 17 00:00:00 2001 From: William Tan <1284324+Ninja3047@users.noreply.github.com> Date: Fri, 1 Aug 2025 16:05:01 -0400 Subject: [PATCH] fix: exec -a is not posix compliant (#3194) --- nix/portable.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/portable.nix b/nix/portable.nix index 27491b859..27b11d74c 100644 --- a/nix/portable.nix +++ b/nix/portable.nix @@ -61,7 +61,7 @@ let #!/bin/sh dir="$(cd -- "$(dirname "$(dirname "$(realpath "$0")")")" >/dev/null 2>&1 ; pwd -P)" ${commonEnvs} - exec -a "$0" ${ldLoader} "$dir/exe/python3" "$dir/${file}" "$@" + exec ${ldLoader} "$dir/exe/python3" "$dir/${file}" "$@" ''; wrapperBin = file: @@ -69,7 +69,7 @@ let #!/bin/sh dir="$(cd -- "$(dirname "$(dirname "$(realpath "$0")")")" >/dev/null 2>&1 ; pwd -P)" ${commonEnvs} - exec -a "$0" ${ldLoader} "$dir/${file}" "$@" + exec ${ldLoader} "$dir/${file}" "$@" ''; pwndbgGdbBundled = bundler (