From f2c66f54e69b6f3fac6f95ddaa9979df4f59bb1b Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Fri, 11 Jan 2013 18:02:36 +0100 Subject: [PATCH] Fix compliation of gts on Darwin --- pkgs/development/libraries/gts/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gts/default.nix b/pkgs/development/libraries/gts/default.nix index b3038d5eaddb..7eb519a045c3 100644 --- a/pkgs/development/libraries/gts/default.nix +++ b/pkgs/development/libraries/gts/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, glib, pkgconfig }: +{ fetchurl, stdenv, glib, pkgconfig, gettext }: stdenv.mkDerivation rec { @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { sha256 = "07mqx09jxh8cv9753y2d2jsv7wp8vjmrd7zcfpbrddz3wc9kx705"; }; - buildInputs = [ glib pkgconfig ]; + buildInputs = [ glib pkgconfig ] ++ stdenv.lib.optional (stdenv.system == "x86_64-darwin") gettext; meta = { homepage = http://gts.sourceforge.net/;