frameworks-coremedia: add impure dependnecy on CoreImage
Fixes ffmpeg sandbox build on darwin
This commit is contained in:
parent
f63f05ef5f
commit
dadcca3f40
@ -198,6 +198,22 @@ in rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
overrides = super: {
|
overrides = super: {
|
||||||
|
AppKit = stdenv.lib.overrideDerivation super.AppKit (drv: {
|
||||||
|
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
|
||||||
|
"/System/Library/PrivateFrameworks/"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
CoreMedia = stdenv.lib.overrideDerivation super.CoreMedia (drv: {
|
||||||
|
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
|
||||||
|
"/System/Library/Frameworks/CoreImage.framework"
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
|
Security = stdenv.lib.overrideDerivation super.Security (drv: {
|
||||||
|
setupHook = ./security-setup-hook.sh;
|
||||||
|
});
|
||||||
|
|
||||||
QuartzCore = stdenv.lib.overrideDerivation super.QuartzCore (drv: {
|
QuartzCore = stdenv.lib.overrideDerivation super.QuartzCore (drv: {
|
||||||
installPhase = drv.installPhase + ''
|
installPhase = drv.installPhase + ''
|
||||||
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
|
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
|
||||||
@ -205,16 +221,6 @@ in rec {
|
|||||||
--replace "QuartzCore/../Frameworks/CoreImage.framework/Headers" "CoreImage"
|
--replace "QuartzCore/../Frameworks/CoreImage.framework/Headers" "CoreImage"
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
CoreServices = stdenv.lib.overrideDerivation super.CoreServices (drv: {
|
|
||||||
__propagatedSandboxProfile = drv.__propagatedSandboxProfile ++ [''
|
|
||||||
(allow mach-lookup (global-name "com.apple.CoreServices.coreservicesd"))
|
|
||||||
''];
|
|
||||||
});
|
|
||||||
|
|
||||||
Security = stdenv.lib.overrideDerivation super.Security (drv: {
|
|
||||||
setupHook = ./security-setup-hook.sh;
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix {
|
bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user