Merge pull request #146403 from jtojnar/qas-eval

Fix eval with `nix-env -qas`
This commit is contained in:
Maximilian Bosch 2021-11-28 18:43:26 +01:00 committed by GitHub
commit 70c6189db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,7 +271,7 @@ in rec {
overrides = super: { overrides = super: {
AppKit = lib.overrideDerivation super.AppKit (drv: { AppKit = lib.overrideDerivation super.AppKit (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps or [] ++ [
"/System/Library/PrivateFrameworks/" "/System/Library/PrivateFrameworks/"
]; ];
}); });
@ -285,13 +285,13 @@ in rec {
}); });
CoreMedia = lib.overrideDerivation super.CoreMedia (drv: { CoreMedia = lib.overrideDerivation super.CoreMedia (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps or [] ++ [
"/System/Library/Frameworks/CoreImage.framework" "/System/Library/Frameworks/CoreImage.framework"
]; ];
}); });
CoreMIDI = lib.overrideDerivation super.CoreMIDI (drv: { CoreMIDI = lib.overrideDerivation super.CoreMIDI (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps or [] ++ [
"/System/Library/PrivateFrameworks/" "/System/Library/PrivateFrameworks/"
]; ];
setupHook = ./private-frameworks-setup-hook.sh; setupHook = ./private-frameworks-setup-hook.sh;