1
0
Fork 1
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:
Daiderd Jordan 2018-02-17 19:35:24 +01:00 committed by GitHub
commit 956272b14b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,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 ];
};
}