summary refs log tree commit diff
path: root/pkgs/shells/dash
diff options
context:
space:
mode:
authorEmily <vcs@emily.moe>2021-09-14 04:19:46 +0100
committerEmily <vcs@emily.moe>2021-09-14 06:50:35 +0100
commita04e858da4b111636f758f01e1ddc726780b1e52 (patch)
tree68e4c8b299e79e3ea48c6f5fb14acb06f0f2dc24 /pkgs/shells/dash
parent1875c0312e2e4e58035b9e55a6783a4812c26514 (diff)
downloadnixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar.gz
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar.bz2
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar.lz
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar.xz
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.tar.zst
nixpkgs-a04e858da4b111636f758f01e1ddc726780b1e52.zip
dash: fix on aarch64-darwin
Diffstat (limited to 'pkgs/shells/dash')
-rw-r--r--pkgs/shells/dash/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix
index 0a6eb556a97..2a0d7314560 100644
--- a/pkgs/shells/dash/default.nix
+++ b/pkgs/shells/dash/default.nix
@@ -25,8 +25,17 @@ stdenv.mkDerivation rec {
       url = "https://git.kernel.org/pub/scm/utils/dash/dash.git/patch/?id=29d6f2148f10213de4e904d515e792d2cf8c968e";
       sha256 = "0aadb7aaaan6jxmi6icv4p5gqx7k510yszaqsa29b5giyxz5l9i1";
     })
+
+    # aarch64-darwin fix from upstream; remove on next release
+    (fetchpatch {
+      url = "https://git.kernel.org/pub/scm/utils/dash/dash.git/patch/?id=6f6d1f2da03468c0e131fdcbdcfa9771ffca2614";
+      sha256 = "16iz2ylkyhpxqq411ns8pjk8rizh6afhavvsf052wvzsnmmlvfbw";
+    })
   ];
 
+  # configure.ac patched; remove on next release
+  nativeBuildInputs = [ autoreconfHook ];
+
   depsBuildBuild = [ buildPackages.stdenv.cc ];
   buildInputs = [ libedit ];