Andrew Childs
3456ef6f30
darwin/apple-sdk: use darwin stubs
2020-11-12 00:23:09 +09:00
Daiderd Jordan
3987ea9a9d
mpv: add flag for swift on darwin
...
While we currently don't have a pure swift build on macOS it's possible
to build mpv using the swift compiler from CLT. eg.
self: super:
let
CommandLineTools = "/Library/Developer/CommandLineTools";
in
{
swift = super.stdenv.mkDerivation {
name = "swift-CommandLineTools-0.0.0";
phases = [ "installPhase" "fixupPhase" ];
propagatedBuildInputs = [ self.darwin.DarwinTools ];
installPhase = ''
mkdir -p $out/bin $out/lib
ln -s ${CommandLineTools}/usr/bin/swift $out/bin
ln -s ${CommandLineTools}/usr/lib/swift $out/lib
ln -s ${CommandLineTools}/SDKs $out
'';
setupHook = builtins.toFile "hook" ''
addCommandLineTools() {
echo >&2
echo "WARNING: this is impure and unreliable, make sure the CommandLineTools are installed!" >&2
echo " $ xcode-select --install" >&2
echo >&2
[ -d ${CommandLineTools} ]
export NIX_LDFLAGS+=" -L@out@/lib/swift/macosx"
export SWIFT=swift
export SWIFT_LIB_DYNAMIC=@out@/lib/swift/macosx
export MACOS_SDK_VERSION=$(sw_vers -productVersion | awk -F. '{print $1 "." $2}')
export MACOS_SDK=@out@/SDKs/MacOSX$MACOS_SDK_VERSION.sdk
}
prePhases+=" addCommandLineTools"
'';
__impureHostDeps = [ CommandLineTools ];
};
mpv = super.mpv.override { swiftSupport = true; };
}
2020-02-06 14:15:35 +01:00
hlolli
78b34b5e5b
graalvm8: 19.1.1 -> 19.2.1
...
- - nixpkgs now with full darwin support
2020-01-18 16:43:03 +01:00
squalus
9314327dee
keepassxc: fix darwin build
...
- Removed the unnecessary libmicrohttpd dependency, which doesn't
build on macOS. KeepassXC removed this dependency in 2.1.2
- Fixed a compiler error related to the Touch ID feature by adding a
dependency on the LocalAuthentication framework
2020-01-08 16:44:14 +01:00
Daiderd Jordan
8ea702a484
darwin-frameworks: add import CoreFoundation to CoreServices
2019-07-03 22:20:09 +02:00
Daiderd Jordan
73d9cac377
darwin-frameworks: replace cf-private and move it's setup-hook
...
The only remaining use-case for cf-private are symbols that are not
available in the opensource build. This generally solved the problem
because of it's setup-hook.
2019-07-03 22:20:09 +02:00
Daiderd Jordan
c2b76fa13c
darwin-frameworks: remove CF
...
CoreFoundation is included by the stdenv, moving the decision of what
version should be used there makes it possible to override it entirely
rather then prepending flags like cf-private does which can be
unreliable.
2019-07-03 22:20:04 +02:00
Matthew Bauer
4e22fe4f63
apple-sdk: add MetalKit
2019-06-23 18:28:36 -04:00
Matthew Bauer
d1f988ca3c
darwin: correct framework dependency
...
AudioUnit depends on AudioToolbox now, so use that to keep
compatibility.
2019-04-26 21:55:03 -04:00
Matthew Bauer
43cda1b854
apple-sdk: add Metal framework for QuartzCore
2019-04-26 21:54:56 -04:00
Matthew Bauer
e3a9b1ea23
apple-sdk: Foundation needs cf-private
2019-04-26 21:54:54 -04:00
Matthew Bauer
4903e825fa
apple-sdk: update frameworks location
...
Some have been removed like:
- DrawSprocket
- DVComponentGlue
2019-04-26 21:54:53 -04:00
Daiderd Jordan
f2fadc0e91
darwin: don't include cf-private in framework dependencies
...
Using cf-private can cause problems, it's better to include it
explicitly in places where it's actually required.
2018-11-05 00:24:04 +01:00
Matthew Bauer
d7591c44f0
apple_sdk.frameworks.Ruby: remove
...
This was broken & apparently unused.
2018-07-04 15:01:00 -04:00
Daiderd Jordan
9f516c23c5
darwin-frameworks: cleanup
2018-03-07 20:03:07 +01:00
Daiderd Jordan
bb02b800a2
darwin-frameworks: add impure version of CoreFoundation
2017-09-23 22:29:43 +02:00
Thomas Mader
2a0f1ecdc8
apple-sdk: Move cf-private first in list, otherwise the build fails because CoreFoundation/CFAttributedString.h could not be found.
...
The problem appeared when building ldc on Mac OSX. See also 13778.
2017-09-02 08:35:07 +02:00
Dan Peebles
59b795c590
apple-sdk: 10.9 -> 10.10
...
This is a slightly less ambitious version of the (now reverted) commit
377cef8d16
, which had a bunch of issues
that I don't have time to resolve right now.
2017-03-14 22:36:21 -04:00
Daiderd Jordan
c7d49e5f69
darwin: fixed eval of frameworks
2017-01-21 01:01:46 +01:00
Daiderd Jordan
fb2a7cd705
Revert "apple-sdk: 10.9 -> 10.11"
...
This reverts commit 377cef8d16
.
2016-12-20 12:33:27 +01:00
Dan Peebles
377cef8d16
apple-sdk: 10.9 -> 10.11
2016-12-19 19:47:24 -05:00
Anthony Cowley
52fb00535e
frameworks: GL is undefined
...
The GLUT frameworks is currently a Nix evaluation error.
2016-04-14 17:31:04 -04:00
Jude Taylor
74416dc40a
wxmac: fix build
2015-10-28 17:15:16 -07:00
Jude Taylor
de0182ee59
vim: clean up arguments list
2015-10-28 13:40:10 -07:00
Jude Taylor
5207f6b45c
clean up emacs framework dependencies
2015-10-28 13:34:53 -07:00
Jude Taylor
c62cf0b5b3
add propagated builds where needed to darwin frameworks
2015-10-28 13:34:53 -07:00
Jude Taylor
0870c09854
darwin purity: emacs-24.5-mac
2015-09-30 17:14:43 -07:00
Jude Taylor
d78936131a
preparation for being able to build xquartz
2015-09-17 16:11:18 -07:00
Jude Taylor
d3a4fe374f
update framework impure deps
2015-07-11 16:05:04 -07:00
Jude Taylor
0f763a12bf
update PCSC dependencies
2015-07-10 10:41:07 -07:00
Jude Taylor
f72beea75e
darwin purity: nodejs-0.10
2015-07-10 10:28:27 -07:00
Jude Taylor
976d80eb57
map apple sdk frameworks CF to darwin.CF to avoid confusion
2015-07-08 14:15:04 -07:00
Jude Taylor
857efa12fb
make vim frameworks-compliant
2015-06-30 17:34:13 -07:00
Jude Taylor
a4fbe26ec8
darwin purity: haskell-hfsevents
2015-06-20 15:29:55 -07:00