mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
ftgl: fix on darwin
This commit is contained in:
parent
453baaeabd
commit
e253fd1a95
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, freetype, libGLU_combined}:
|
||||
{ stdenv, fetchurl, freetype, libGLU_combined, OpenGL }:
|
||||
|
||||
let
|
||||
name = "ftgl-2.1.3-rc5";
|
||||
@ -11,7 +11,12 @@ stdenv.mkDerivation {
|
||||
sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l";
|
||||
};
|
||||
|
||||
buildInputs = [ freetype libGLU_combined ];
|
||||
buildInputs = [ freetype ]
|
||||
++ (if stdenv.isDarwin then
|
||||
[ OpenGL ]
|
||||
else
|
||||
[ libGLU_combined ])
|
||||
;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -2728,7 +2728,9 @@ in
|
||||
frostwire = callPackage ../applications/networking/p2p/frostwire { };
|
||||
frostwire-bin = callPackage ../applications/networking/p2p/frostwire/frostwire-bin.nix { };
|
||||
|
||||
ftgl = callPackage ../development/libraries/ftgl { };
|
||||
ftgl = callPackage ../development/libraries/ftgl {
|
||||
inherit (darwin.apple_sdk.frameworks) OpenGL;
|
||||
};
|
||||
|
||||
ftop = callPackage ../os-specific/linux/ftop { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user