Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
28 lines
1.3 KiB
Diff
28 lines
1.3 KiB
Diff
--- a/src/process_pipeline.c
|
|
+++ b/src/process_pipeline.c
|
|
@@ -179,10 +179,10 @@ mp_process_find_all_processors(GtkListStore *store)
|
|
store, &iter, 0, buffer, 1, "(built-in) postprocess.sh", -1);
|
|
}
|
|
|
|
- // Find extra packaged postprocessor scripts
|
|
- // These should be packaged in
|
|
- // /usr/share/megapixels/postprocessor.d/executable
|
|
- sprintf(buffer, "%s/megapixels/postprocessor.d", DATADIR);
|
|
+ // Find extra system postprocessor scripts
|
|
+ // These should be accessible in
|
|
+ // /run/current-system/sw/share/megapixels/postprocessor.d/executable
|
|
+ sprintf(buffer, "/run/current-system/sw/share/megapixels/postprocessor.d");
|
|
DIR *d;
|
|
struct dirent *dir;
|
|
d = opendir(buffer);
|
|
@@ -192,8 +192,7 @@ mp_process_find_all_processors(GtkListStore *store)
|
|
continue;
|
|
}
|
|
sprintf(buffer,
|
|
- "%s/megapixels/postprocessor.d/%s",
|
|
- DATADIR,
|
|
+ "/run/current-system/sw/share/megapixels/postprocessor.d/%s",
|
|
dir->d_name);
|
|
gtk_list_store_insert(store, &iter, -1);
|
|
gtk_list_store_set(
|