From 541beebe6fae88f188ccfd6632dd3abfc2756fd8 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 16 Mar 2010 10:37:41 +0000 Subject: [PATCH] libncurses: on darwin systems remove .so files svn path=/nixpkgs/trunk/; revision=20644 --- pkgs/development/libraries/ncurses/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {} ) )