From ee260ce12a4dfae08fb0ff4c0cdafe55f3d38c4c Mon Sep 17 00:00:00 2001 From: Ivan Jager Date: Sat, 1 Jul 2017 12:15:02 -0500 Subject: [PATCH] megacli: Fix missing libncurses.so.5 --- pkgs/tools/misc/megacli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/megacli/default.nix b/pkgs/tools/misc/megacli/default.nix index cbebd557d77c..5341c9840be8 100644 --- a/pkgs/tools/misc/megacli/default.nix +++ b/pkgs/tools/misc/megacli/default.nix @@ -1,4 +1,4 @@ -{ stdenv, rpmextract, ncurses, patchelf, makeWrapper, requireFile, unzip }: +{ stdenv, rpmextract, ncurses5, patchelf, makeWrapper, requireFile, unzip }: assert stdenv.system == "x86_64-linux"; @@ -12,10 +12,10 @@ stdenv.mkDerivation rec { sha256 = "11jzvh25mlygflazd37gi05xv67im4rgq7sbs5nwgw3gxdh4xfjj"; }; - buildInputs = [rpmextract ncurses unzip makeWrapper]; + buildInputs = [rpmextract ncurses5 unzip makeWrapper]; libPath = stdenv.lib.makeLibraryPath - [ stdenv.cc.cc stdenv.cc.libc ncurses ]; + [ stdenv.cc.cc stdenv.cc.libc ncurses5 ]; buildCommand = '' mkdir -p $out/bin