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
This commit is contained in:
parent
ac6d98dbdc
commit
f4ac75a56d
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user