Merge pull request #31590 from matthewbauer/quartz-wm
quartz-wm: fix building
This commit is contained in:
commit
956272b14b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, xorg, pixman, pkgconfig, AppKit, Xplugin }:
|
{ stdenv, lib, fetchurl, xorg, pixman, pkgconfig, AppKit, Xplugin, darwin }:
|
||||||
|
|
||||||
let version = "1.3.1";
|
let version = "1.3.1";
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
@ -19,13 +19,11 @@ in stdenv.mkDerivation {
|
|||||||
xorg.libXext
|
xorg.libXext
|
||||||
pixman
|
pixman
|
||||||
pkgconfig
|
pkgconfig
|
||||||
AppKit Xplugin
|
AppKit Xplugin darwin.apple_sdk.frameworks.Foundation
|
||||||
];
|
];
|
||||||
NIX_CFLAGS_COMPILE = "-F/System/Library/Frameworks -I/usr/include";
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
|
|
||||||
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
license = licenses.apsl20;
|
license = licenses.apsl20;
|
||||||
platforms = platforms.darwin;
|
platforms = platforms.darwin;
|
||||||
|
maintainers = with maintainers; [ matthewbauer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user