sushi: patch to use host gjs, set strictDeps

(cherry picked from commit 213d934e37)
This commit is contained in:
Michael Daniels
2026-05-31 13:51:39 -04:00
committed by github-actions[bot]
parent 96008630cb
commit e6851207c4

View File

@@ -62,6 +62,11 @@ stdenv.mkDerivation (finalAttrs: {
gst_all_1.gst-plugins-ugly
];
postPatch = ''
substituteInPlace meson.build \
--replace-fail "gjs = find_program('gjs', 'gjs-console')" "gjs = find_program('${lib.getExe gjs}')"
'';
# See https://github.com/NixOS/nixpkgs/issues/31168
postInstall = ''
for file in $out/libexec/org.gnome.NautilusPreviewer
@@ -77,6 +82,8 @@ stdenv.mkDerivation (finalAttrs: {
};
};
strictDeps = true;
meta = {
homepage = "https://gitlab.gnome.org/GNOME/sushi";
changelog = "https://gitlab.gnome.org/GNOME/sushi/-/blob/${finalAttrs.version}/NEWS?ref_type=tags";