Skip to content

Commit

Permalink
autotrace: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Sep 8, 2017
1 parent c10a1c6 commit a838243
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a838243

Please sign in to comment.