From 7887d50ae4990cf1e8187d5c036535bd796a2de2 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 1 Apr 2020 22:26:48 -0400 Subject: [PATCH] ftgl: add --with-ft-prefix for finding freetype freetype-config is not in PATH when cross-compiling. We need to provide our own. --- pkgs/development/libraries/ftgl/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/ftgl/default.nix b/pkgs/development/libraries/ftgl/default.nix index a99228efcf4d..dd99d60a689b 100644 --- a/pkgs/development/libraries/ftgl/default.nix +++ b/pkgs/development/libraries/ftgl/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation { [ libGL libGLU ]) ; + configureFlags = [ "--with-ft-prefix=${stdenv.lib.getDev freetype}" ]; + enableParallelBuilding = true; meta = {