mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
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";
|
||||
in stdenv.mkDerivation {
|
||||
|
@ -19,13 +19,11 @@ in stdenv.mkDerivation {
|
|||
xorg.libXext
|
||||
pixman
|
||||
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; {
|
||||
license = licenses.apsl20;
|
||||
platforms = platforms.darwin;
|
||||
maintainers = with maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue