about summary refs log tree commit diff
path: root/pkgs/applications/radio/tlf
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-09-18 13:57:20 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-09-18 13:57:20 -0400
commit4c85abae94b0a55ff76387c1f1793370a170dda8 (patch)
tree8bf2eac091b19a5b1ddc4b811ee4ed6523ad5870 /pkgs/applications/radio/tlf
parent2c32f91bfc3d50175dd1f1eb87bf34626b7e8ab5 (diff)
downloadnixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar.gz
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar.bz2
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar.lz
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar.xz
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.tar.zst
nixlib-4c85abae94b0a55ff76387c1f1793370a170dda8.zip
treewide: use libtinfo.so.5 where needed
This was originally added in

https://github.com/NixOS/nixpkgs/pull/21350

best to use this name for clarity.
Diffstat (limited to 'pkgs/applications/radio/tlf')
-rw-r--r--pkgs/applications/radio/tlf/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/radio/tlf/default.nix b/pkgs/applications/radio/tlf/default.nix
index 92183306038b..f45e695486d8 100644
--- a/pkgs/applications/radio/tlf/default.nix
+++ b/pkgs/applications/radio/tlf/default.nix
@@ -1,5 +1,5 @@
 { stdenv, fetchFromGitHub, autoreconfHook, autoconf, automake, pkgconfig, glib
-, perl, ncurses, hamlib, xmlrpc_c }:
+, perl, ncurses5, hamlib, xmlrpc_c }:
 
 stdenv.mkDerivation rec {
   pname = "tlf";
@@ -13,15 +13,13 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ autoreconfHook autoconf automake pkgconfig perl ];
-  buildInputs = [ glib ncurses hamlib xmlrpc_c ];
+  buildInputs = [ glib ncurses5 hamlib xmlrpc_c ];
 
   configureFlags = [ "--enable-hamlib" "--enable-fldigi-xmlrpc" ];
 
   postInstall = ''
     mkdir -p $out/lib
-
-    # Hack around lack of libtinfo in NixOS
-    ln -s ${ncurses.out}/lib/libncursesw.so.6 $out/lib/libtinfo.so.5
+    ln -s ${ncurses5.out}/lib/libtinfo.so.5 $out/lib/libtinfo.so.5
   '';
 
   meta = with stdenv.lib; {