summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-04-05 00:16:38 +0000
committerGitHub <noreply@github.com>2021-04-05 00:16:38 +0000
commit44e3fc61fed2ad05cf1ae7d155172dccd0555465 (patch)
tree315f09a7c2a0b100b0d50cec9d5d194106bd52c2 /pkgs/shells
parent8277f3982e62787e389b6e2875433dd30c0ae39c (diff)
parent131299a60ff3db9defb1e84ff4cfa41a07e61ecb (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/dash/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix
index 24d5af7e74ee..f044c41b73d6 100644
--- a/pkgs/shells/dash/default.nix
+++ b/pkgs/shells/dash/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, buildPackages, autoreconfHook, fetchurl }:
+{ lib, stdenv, buildPackages, autoreconfHook, fetchurl, libedit }:
stdenv.mkDerivation rec {
pname = "dash";
@@ -11,7 +11,6 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
- # Temporary fix until a proper one is accepted upstream
patches = [
(fetchurl {
# Dash executes code when noexec ("-n") is specified
@@ -19,9 +18,18 @@ stdenv.mkDerivation rec {
url = "https://git.kernel.org/pub/scm/utils/dash/dash.git/patch/?id=29d6f2148f10213de4e904d515e792d2cf8c968e";
sha256 = "08q90bx36ixwlcj331dh7420qyj8i0qh1cc1gljrhd83fhl9w0y5";
})
- ] ++ lib.optional stdenv.isDarwin ./0001-fix-dirent64-et-al-on-darwin.patch;
+ ] ++ lib.optionals stdenv.isDarwin [
+ # Temporary fix until a proper one is accepted upstream
+ ./0001-fix-dirent64-et-al-on-darwin.patch
+ ];
+
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
+ buildInputs = [ libedit ];
+
+ configureFlags = [ "--with-libedit" ];
+
+ enableParallelBuilding = true;
meta = with lib; {
homepage = "http://gondor.apana.org.au/~herbert/dash/";