summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorJude Taylor <me@jude.bio>2015-07-08 14:14:27 -0700
committerJude Taylor <me@jude.bio>2015-07-08 14:15:04 -0700
commit976d80eb573335e30da57153f959e75b9d76a69b (patch)
treedfdccc398c33c155ca6024f61a426c1d44e3812b /pkgs/applications/editors
parentcb3e282cdacdd1e42c4e62712263f515a5ffd128 (diff)
downloadnixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar.gz
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar.bz2
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar.lz
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar.xz
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.tar.zst
nixpkgs-976d80eb573335e30da57153f959e75b9d76a69b.zip
map apple sdk frameworks CF to darwin.CF to avoid confusion
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/vim/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix
index 385611a167a..e1e920e2c49 100644
--- a/pkgs/applications/editors/vim/default.nix
+++ b/pkgs/applications/editors/vim/default.nix
@@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
     sha256 = "1z0qarf6a2smab28g9dnxklhfayn85wx48bnddmyhb9kqzjgqgjc";
   };
 
+  # this makes maintainers very sad
+  # open source CF doesn't have anything NSArray-related, causing linking errors. the
+  # missing symbol is in system CoreFoundation.
+  NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
+    "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
+
   enableParallelBuilding = true;
 
   buildInputs = [ ncurses pkgconfig ]