Skip to content

Commit 1e3f09f

Browse files
committed
gimp: reorder the expression
To use more standard layout.
1 parent 8d9f9fd commit 1e3f09f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

pkgs/applications/graphics/gimp/default.nix

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,21 @@ in stdenv.mkDerivation rec {
131131
gegl
132132
];
133133

134+
configureFlags = [
135+
"--without-webkit" # old version is required
136+
"--disable-check-update"
137+
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
138+
"--with-icc-directory=/run/current-system/sw/share/color/icc"
139+
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
140+
"--libdir=\${exec_prefix}/lib"
141+
];
142+
143+
enableParallelBuilding = true;
144+
145+
# on Darwin,
146+
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
147+
doCheck = !stdenv.isDarwin;
148+
134149
# Check if librsvg was built with --disable-pixbuf-loader.
135150
PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";
136151

@@ -155,21 +170,6 @@ in stdenv.mkDerivation rec {
155170
gtk = gtk2;
156171
};
157172

158-
configureFlags = [
159-
"--without-webkit" # old version is required
160-
"--disable-check-update"
161-
"--with-bug-report-url=https://github.com/NixOS/nixpkgs/issues/new"
162-
"--with-icc-directory=/run/current-system/sw/share/color/icc"
163-
# fix libdir in pc files (${exec_prefix} needs to be passed verbatim)
164-
"--libdir=\${exec_prefix}/lib"
165-
];
166-
167-
# on Darwin,
168-
# test-eevl.c:64:36: error: initializer element is not a compile-time constant
169-
doCheck = !stdenv.isDarwin;
170-
171-
enableParallelBuilding = true;
172-
173173
meta = with lib; {
174174
description = "The GNU Image Manipulation Program";
175175
homepage = "https://www.gimp.org/";

0 commit comments

Comments
 (0)