diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index 2e6de49958ed..5a8e91f8a353 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -1,6 +1,6 @@ {stdenv, fetchurl, unicode ? true}: -stdenv.mkDerivation rec { +stdenv.mkDerivation ( rec { name = "ncurses-5.7"; src = fetchurl { @@ -53,4 +53,4 @@ stdenv.mkDerivation rec { license = "X11"; }; -} +} // ( if stdenv.isDarwin then { postFixup = "rm $out/lib/*.so"; } else {} ) )