From 54a663a519f622f19424295edb55d01686261bb4 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 13 Jul 2018 15:21:05 -0500 Subject: [PATCH] ncurses: if enableStatic is set, don't remove the "*.a" files! --- pkgs/development/libraries/ncurses/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index cf478837b86d4..847119aa80162 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -127,7 +127,7 @@ stdenv.mkDerivation rec { moveToOutput "bin/infotocap" "$out" ''; - preFixup = lib.optionalString (!hostPlatform.isCygwin) '' + preFixup = lib.optionalString (!hostPlatform.isCygwin && !enableStatic) '' rm "$out"/lib/*.a '';