mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
fox: fix darwin build
This commit is contained in:
parent
7afc589d7d
commit
410fa4b427
@ -1,4 +1,5 @@
|
||||
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft }:
|
||||
{ stdenv, fetchurl, xlibsWrapper, libpng, libjpeg, libtiff, zlib, bzip2, libXcursor, libXrandr, libXft
|
||||
, CoreServices ? null }:
|
||||
|
||||
let
|
||||
version = "1.7.9";
|
||||
@ -12,7 +13,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1jb9368xsin3ppdf6979n5s7in3s9klbxqbwcp0z8misjixl7nzg";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng xlibsWrapper libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ];
|
||||
buildInputs = [ libpng xlibsWrapper libjpeg libtiff zlib bzip2 libXcursor libXrandr libXft ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -1615,6 +1615,7 @@ in
|
||||
|
||||
fox = callPackage ../development/libraries/fox/default.nix {
|
||||
libpng = libpng12;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
fox_1_6 = callPackage ../development/libraries/fox/fox-1.6.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user