quartz-wm: fix and avoid impurities

This commit is contained in:
Matthew Bauer 2017-11-13 00:33:07 -06:00
parent bdce9327a1
commit de8aec4d94

View File

@ -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,11 +19,8 @@ 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;