Skip to content

Commit

Permalink
ncurses: Fix libtinfo for crossplatform
Browse files Browse the repository at this point in the history
  • Loading branch information
spacekitteh committed Dec 23, 2016
1 parent 41652f8 commit c826ec6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/development/libraries/ncurses/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ stdenv.mkDerivation rec {
if [ -e "$out/lib/lib''${library}$suffix.$dylibtype" ]; then
ln -svf lib''${library}$suffix.$dylibtype $out/lib/lib$library$newsuffix.$dylibtype
ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/lib$library$newsuffix.$dylibtype.${abiVersion}
# make libtinfo symlinks
ln -svf lib''${library}$suffix.$dylibtype $out/lib/libtinfo$newsuffix.$dylibtype
ln -svf lib''${library}$suffix.$dylibtype.${abiVersion} $out/lib/libtinfo$newsuffix.$dylibtype.${abiVersion}

This comment has been minimized.

Copy link
@aristidb

aristidb Dec 28, 2016

Contributor

This change breaks vim on NixOS

This comment has been minimized.

Copy link
@vcunat

vcunat Dec 28, 2016

Member

Yes. Discussed already on: #21368 (comment)

fi
done
for statictype in a dll.a la; do
Expand All @@ -102,10 +105,6 @@ stdenv.mkDerivation rec {
done
done
# create libtinfo symlink
ln -svf $out/lib/libncurses.$dylibtype $out/libtinfo.$dylibtype
ln -svf $out/lib/libncurses.$dylibtype.${abiVersion} $out/libtinfo.$dylibtype.${abiVersion}
# move some utilities to $bin
# these programs are used at runtime and don't really belong in $dev
moveToOutput "bin/clear" "$out"
Expand Down

0 comments on commit c826ec6

Please sign in to comment.