diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-03-12 16:17:27 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-04 22:07:15 +0000 |
commit | f4ac75a56dcf0fdf045c04722ef6dcff7b12c2ee (patch) | |
tree | 443c330d3e53a172967743f5ab709da3ba6b4ba6 /pkgs/shells | |
parent | ac6d98dbdcd5536f6ed6f68987280ff99d64813d (diff) |
dash: add libedit support
This allows running set -o emacs to get line editing in dash, which is
a major usability improvement.
Closure size before: 31.6M
after: 35.3M
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/dash/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/shells/dash/default.nix b/pkgs/shells/dash/default.nix index d6b99e0361e9..fedd22c0b4ec 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"; @@ -25,6 +25,9 @@ stdenv.mkDerivation rec { depsBuildBuild = [ buildPackages.stdenv.cc ]; nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook; + buildInputs = [ libedit ]; + + configureFlags = [ "--with-libedit" ]; meta = with lib; { homepage = "http://gondor.apana.org.au/~herbert/dash/"; |