aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/graphics/autotrace
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-09-08 21:08:15 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-09-08 21:08:15 +0200
commita8382432d9d94b1595484c429a572cb23caf0a85 (patch)
tree12ad0c17283ad302a2bdc8228f9fb2da220d1950 /pkgs/applications/graphics/autotrace
parentc10a1c6e1cf46cb0ed042f10970e89e585be6d97 (diff)
autotrace: fix darwin build
Diffstat (limited to 'pkgs/applications/graphics/autotrace')
-rw-r--r--pkgs/applications/graphics/autotrace/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/autotrace/default.nix b/pkgs/applications/graphics/autotrace/default.nix
index 2131589339c0..c0ce81b3b425 100644
--- a/pkgs/applications/graphics/autotrace/default.nix
+++ b/pkgs/applications/graphics/autotrace/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, callPackage, libpng12, imagemagick,
- autoreconfHook, glib, pstoedit, pkgconfig, gettext, darwin }:
+ autoreconfHook, glib, pstoedit, pkgconfig, gettext, gd, darwin }:
# TODO: Figure out why the resultant binary is somehow linked against
# libpng16.so.16 rather than libpng12.
@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook glib autofig pkgconfig gettext ];
buildInputs = [ libpng12 imagemagick pstoedit ]
++ stdenv.lib.optionals stdenv.isDarwin
- (with darwin.apple_sdk.frameworks; [ApplicationServices]);
-
+ (with darwin.apple_sdk.frameworks; [ gd ApplicationServices ]);
+
postUnpack = ''
pushd $sourceRoot
autofig autotrace-config.af