sushi: patch to use host gjs, set strictDeps (#526178)

This commit is contained in:
Michael Daniels
2026-07-31 20:35:58 +00:00
committed by GitHub
+7
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";