tclreadline: simplify package with tcl.mkTclDerivation

This commit is contained in:
Andrew Brooks 2021-04-30 17:37:34 -05:00
parent c6ca1ba9c7
commit 9571f53665

View file

@ -8,7 +8,7 @@
, tk
}:
stdenv.mkDerivation rec {
tcl.mkTclDerivation rec {
pname = "tclreadline";
version = "2.3.8";
@ -26,7 +26,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
readline
tcl
tk
];
@ -35,7 +34,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--enable-tclshrl"
"--enable-wishrl"
"--with-tcl=${tcl}/lib"
"--with-tk=${tk}/lib"
"--with-readline-includes=${readline.dev}/include/readline"
"--with-libtool=${libtool}"