oil: enable readline

This commit is contained in:
Alva 2019-10-06 17:16:09 +02:00
parent 897ec814c9
commit 1047a165b8
No known key found for this signature in database
GPG Key ID: F53E323342F7A6D3

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;