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:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, buildPackages, autoreconfHook, fetchurl }:
|
{ lib, stdenv, buildPackages, autoreconfHook, fetchurl, libedit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dash";
|
pname = "dash";
|
||||||
@@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
|
nativeBuildInputs = lib.optional stdenv.isDarwin autoreconfHook;
|
||||||
|
buildInputs = [ libedit ];
|
||||||
|
|
||||||
|
configureFlags = [ "--with-libedit" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://gondor.apana.org.au/~herbert/dash/";
|
homepage = "http://gondor.apana.org.au/~herbert/dash/";
|
||||||
|
|||||||
Reference in New Issue
Block a user