From 5dd6467e7bcd8a43078682dd947066016186a00e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 25 Oct 2024 09:06:44 +0200 Subject: [PATCH] gzip: use makeShellWrapper instead of makeWrapper makeWrapper is in default makeShellWrapper but sometimes it is beneficial to switch it in overlay to makeBinaryWrapper, but gzip is injecting shell expansion that doesn't work binary wrapper. Thus this takes shell wrapper explicitly as a dependency now. --- pkgs/tools/compression/gzip/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/compression/gzip/default.nix b/pkgs/tools/compression/gzip/default.nix index 8b10fa1c98d48..3f5ace045a08a 100644 --- a/pkgs/tools/compression/gzip/default.nix +++ b/pkgs/tools/compression/gzip/default.nix @@ -1,6 +1,6 @@ { lib, stdenv , fetchurl -, makeWrapper +, makeShellWrapper , updateAutotoolsGnuConfigScriptsHook , runtimeShellPackage }: @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook makeWrapper ]; + nativeBuildInputs = [ updateAutotoolsGnuConfigScriptsHook makeShellWrapper ]; buildInputs = [ runtimeShellPackage ]; makeFlags = [