From 1047a165b8a57b7b3c44f48c05dbb0a73ca8f042 Mon Sep 17 00:00:00 2001 From: Alva Date: Sun, 6 Oct 2019 17:16:09 +0200 Subject: [PATCH] oil: enable readline --- pkgs/shells/oil/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/oil/default.nix b/pkgs/shells/oil/default.nix index 4796cc27391..656a84a5277 100644 --- a/pkgs/shells/oil/default.nix +++ b/pkgs/shells/oil/default.nix @@ -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;