Merge pull request #70531 from fjallarefur/oil

oil: enable readline
This commit is contained in:
Linus Heckemann 2019-10-07 12:14:13 +02:00 committed by GitHub
commit e831ebce93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchpatch }:
{ stdenv, lib, fetchurl, fetchpatch, readline }:
stdenv.mkDerivation rec {
pname = "oil";
@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
'';
buildInputs = [ readline ];
configureFlags = [ "--with-readline" ];
# Stripping breaks the bundles by removing the zip file from the end.
dontStrip = true;
@ -40,4 +43,8 @@ stdenv.mkDerivation rec {
maintainers = with lib.maintainers; [ lheckemann ];
};
passthru = {
shellPath = "/bin/osh";
};
}