From 53c93b3fe203772ec8dccf00c772adca8fe8d376 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Wed, 23 Nov 2022 08:35:41 +0100 Subject: [PATCH] Add autojump fix patch --- patches/202363.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 patches/202363.patch diff --git a/patches/202363.patch b/patches/202363.patch new file mode 100644 index 00000000..ca73f1d2 --- /dev/null +++ b/patches/202363.patch @@ -0,0 +1,25 @@ +From f6b4b52a17e47707e9ab6b252c50b663781f34c1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= +Date: Tue, 22 Nov 2022 16:19:35 +0100 +Subject: [PATCH] autojump: fixup python shebang after cross fix + +we need python also in buildInputs for the shebang to get fixed properly +--- + pkgs/tools/misc/autojump/default.nix | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix +index 844e3ba99ea9cf..424497ee182b76 100644 +--- a/pkgs/tools/misc/autojump/default.nix ++++ b/pkgs/tools/misc/autojump/default.nix +@@ -11,8 +11,10 @@ stdenv.mkDerivation rec { + sha256 = "1rgpsh70manr2dydna9da4x7p8ahii7dgdgwir5fka340n1wrcws"; + }; + ++ buildInputs = [ python3 ]; + nativeBuildInputs = [ python3 ]; + dontBuild = true; ++ strictDeps = true; + + installPhase = '' + python ./install.py -d "$out" -p "" -z "$out/share/zsh/site-functions/"