Skip to content

Commit

Permalink
gimp: reorder the expression
Browse files Browse the repository at this point in the history
To use more standard layout.
  • Loading branch information
jtojnar committed Aug 17, 2020
1 parent 8d9f9fd commit 1e3f09f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pkgs/applications/graphics/gimp/default.nix
Expand Up @@ -131,6 +131,21 @@ in stdenv.mkDerivation rec {
gegl
];

configureFlags = [
"--without-webkit" # old version is required
"--disable-check-update"
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
"--with-icc-directory=/run/current-system/sw/share/color/icc"
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
"--libdir=\${exec_prefix}/lib"
];

enableParallelBuilding = true;

# on Darwin,
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
doCheck = !stdenv.isDarwin;

# Check if librsvg was built with --disable-pixbuf-loader.
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";

Expand All @@ -155,21 +170,6 @@ in stdenv.mkDerivation rec {
gtk = gtk2;
};

configureFlags = [
"--without-webkit" # old version is required
"--disable-check-update"
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
"--with-icc-directory=/run/current-system/sw/share/color/icc"
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
"--libdir=\${exec_prefix}/lib"
];

# on Darwin,
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
doCheck = !stdenv.isDarwin;

enableParallelBuilding = true;

meta = with lib; {
description = "The GNU Image Manipulation Program";
homepage = "https://www.gimp.org/";
Expand Down

0 comments on commit 1e3f09f

Please sign in to comment.