volth
46420bbaa3
treewide: name -> pname (easy cases) ( #66585 )
...
treewide replacement of
stdenv.mkDerivation rec {
name = "*-${version}";
version = "*";
to pname
2019-08-15 13:41:18 +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
Matthew Bauer
d69cc779b5
Revert "Revert "darwin 10.12 commits""
...
This reverts commit 8505e710e7
.
2019-04-20 23:17:04 -04:00
Daiderd Jordan
b4ea47749a
darwin: remove references to Ubiquity.framework
...
It was removed on recent versions of macOS and these entries break
sandboxing if they don't exist.
Aborted: while setting up the build environment: getting attributes of path '/System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity': No such file or directory
2019-02-17 15:30:30 +01: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
c7ab795274
darwin.security_tool: disallow requiring sdk
...
As requested by @domenkozar
2018-07-04 15:08:35 -04:00
Matthew Bauer
d7591c44f0
apple_sdk.frameworks.Ruby: remove
...
This was broken & apparently unused.
2018-07-04 15:01:00 -04:00
Matthew Bauer
db414a2f5e
xpc: copy instead of linking to sdk
...
This prevents the apple sdk from coming into security tool
Fixes #42836
2018-07-02 17:51:38 -04:00
Matthew Bauer
06fa867498
apple_sdk: use multiple outputs
2018-06-09 00:05:38 -04:00
Frederik Rietdijk
23741692fa
Merge master into staging
2018-04-04 19:36:39 +02:00
Daiderd Jordan
adf11dcc01
darwin-frameworks: add hook for private frameworks to CoreMIDI
...
Some parts of CoreMIDI depend on private frameworks, this enables eg.
adding -framework MultitouchSupport to a build.
2018-03-17 14:02:51 +01:00
Daiderd Jordan
9f516c23c5
darwin-frameworks: cleanup
2018-03-07 20:03:07 +01:00
John Ericson
046f091e0d
treewide: Don't use envHook anymore
...
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Daiderd Jordan
dadcca3f40
frameworks-coremedia: add impure dependnecy on CoreImage
...
Fixes ffmpeg sandbox build on darwin
2017-11-14 21:51:40 -05:00
Dan Peebles
48a34be41c
Support frameworks properly in sandbox
2017-11-08 22:06:52 -05:00
Daiderd Jordan
bb02b800a2
darwin-frameworks: add impure version of CoreFoundation
2017-09-23 22:29:43 +02:00
Jörg Thalheim
419869269d
Merge pull request #28635 from ThomasMader/ldc
...
Init ldc at 1.3.0, fix bootstrap dmd build, fix dtools test, run dmd-testsuite in checkPhase and fix Foundation framework
2017-09-15 10:32:10 +01: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
Daiderd Jordan
5a28fd660a
darwin-frameworks: move fixup setup-hook
2017-08-28 23:25:11 +02:00
Daiderd Jordan
cc1bfbd9a7
darwin-frameworks: use the system CF when frameworks are used
...
This will get propagated down to other libraries loaded because
everything in nixpkgs references CF based on an rpath entry.
2017-08-28 23:25:09 +02:00
Dan Peebles
3a9c217804
rtags: fix for clang/libc++ 4
...
This also fixes a missing header in the SDK that rtags needs to work
properly. The underlying cause is that C++ headers got shuffled around a
lot in libc++ 3.8 (I believe) and became more standards-compliant, which
led to a lot of C-compatible passthrough header files being added to it
like math.h, which defines some C++-compatible versions of standard
functions like signbit, while #include_next'ing the system math.h. In
this case, including the SDK was stuffing another math.h in front of the
libc++ shim, which led to all sorts of mysterious failures.
2017-04-04 08:07:52 -04:00
Daniel Peebles
38a03817b0
Merge pull request #22571 from LnL7/darwin-frameworks-hook
...
add setup-hook to fix darwin frameworks
2017-03-15 11:33:23 -04: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
97a3e7cf52
darwin-frameworks: don't use pure CF
2017-03-12 15:19:04 +01:00
Daiderd Jordan
c7d49e5f69
darwin: fixed eval of frameworks
2017-01-21 01:01:46 +01:00
Vladimír Čunát
2e03ae274d
Merge branch 'master' into staging
2016-12-22 11:28:56 +01:00
Aristid Breitkreuz
bb18e10ba0
Merge remote-tracking branch 'origin/master' into staging
2016-12-20 14:05:30 +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
1712366bac
apple-sdk: Include system cups libraries
...
The SDK includes cups header files, but not the libraries. The
`nixpkgs.cups` definition doesn't build on darwin due to the SDK being
too old. This change symlinks the system cups libraries into the old
SDK.
2016-12-07 23:14:38 +01:00
Arseniy Seroka
d0f909a0a8
Merge pull request #14706 from acowley/frameworks-GL
...
frameworks: GL is undefined
2016-04-24 22:38:47 +03:00
Anthony Cowley
ca1d46f98a
ApplicationServices: add CoreGraphics child
...
The AVFoundation framework uses a relative path that presumes that
CoreGraphics is a child framework of ApplicationServices. It is not in
the 10.9 SDK.
This patch makes it one by tweaking the framework derivation generator
with special support to address this problem.
2016-04-15 18:21:33 -04: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
d539d9c935
revert to __impureHostDeps where possible
2015-11-25 10:09:35 -08:00
Jude Taylor
32cb70bb07
propagate nothing for Kernel.framework since it exposes no library
2015-11-21 15:59:43 -08:00
Jude Taylor
f5609a4d2a
reintroduce impure host deps to all derivations
2015-11-21 15:51:48 -08:00
Jude Taylor
69e7f3bb74
switch to zero underscores for sandbox profiles; remove generateFrameworkProfile
2015-11-21 12:10:33 -08:00
Jude Taylor
a63346e33c
use single underscore for sandboxProfile
2015-11-21 11:17:30 -08:00
Jude Taylor
df80090d09
use per-derivation sandbox profiles
2015-11-19 11:31:06 -08:00
Jude Taylor
ce4f1098ca
reduce security setup hook duplication
2015-10-29 13:56:02 -07:00
Jude Taylor
b3898c586a
remove duplicate Kernel
2015-10-28 17:15:40 -07:00
Jude Taylor
74416dc40a
wxmac: fix build
2015-10-28 17:15:16 -07:00
Henry Till
a7784cafa3
SDL: fix on darwin
2015-10-28 19:44:30 -04:00