From 9e1071664427bf19c57b6bb65033c5edfffce091 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Fri, 25 Aug 2023 06:27:36 -0600 Subject: [PATCH] rex: fix runtime with patchShebangs --- pkgs/tools/system/rex/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/system/rex/default.nix b/pkgs/tools/system/rex/default.nix index 0befdbd2a1e0..980874322bb8 100644 --- a/pkgs/tools/system/rex/default.nix +++ b/pkgs/tools/system/rex/default.nix @@ -73,6 +73,10 @@ perlPackages.buildPerlPackage rec { outputs = [ "out" ]; + postPatch = '' + patchShebangs bin + ''; + fixupPhase = '' for sh in bash zsh; do substituteInPlace ./share/rex-tab-completion.$sh \