1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/appstream-glib/paths.patch
2018-02-15 01:11:12 +01:00

12 lines
435 B
Diff

--- a/libappstream-builder/asb-utils.c
+++ b/libappstream-builder/asb-utils.c
@@ -294,7 +294,7 @@
{
g_autofree gchar *standard_error = NULL;
gint exit_status = 0;
- const gchar *argv[] = { "/usr/bin/pngquant", "--skip-if-larger",
+ const gchar *argv[] = { "@pngquant@", "--skip-if-larger",
"--strip", "--ext", ".png",
"--force", "--speed", "1", filename, NULL };
if (!g_file_test (argv[0], G_FILE_TEST_IS_EXECUTABLE))