diff options
author | Jude Taylor <me@jude.bio> | 2015-07-08 14:14:27 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-07-08 14:15:04 -0700 |
commit | 976d80eb573335e30da57153f959e75b9d76a69b (patch) | |
tree | dfdccc398c33c155ca6024f61a426c1d44e3812b /pkgs/applications/editors/vim/default.nix | |
parent | cb3e282cdacdd1e42c4e62712263f515a5ffd128 (diff) | |
download | nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar.gz nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar.bz2 nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar.lz nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar.xz nixlib-976d80eb573335e30da57153f959e75b9d76a69b.tar.zst nixlib-976d80eb573335e30da57153f959e75b9d76a69b.zip |
map apple sdk frameworks CF to darwin.CF to avoid confusion
Diffstat (limited to 'pkgs/applications/editors/vim/default.nix')
-rw-r--r-- | pkgs/applications/editors/vim/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix index 385611a167a3..e1e920e2c496 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 ] |