gnomeExtensions.screenshot-tool: Fix paths

Fixes #136112.
This commit is contained in:
piegames 2021-09-08 22:52:58 +02:00
parent 0ce4ae676a
commit 48064d95d9

View file

@ -19,4 +19,14 @@ super: super // {
''; '';
}); });
"gnome-shell-screenshot@ttll.de" = super."gnome-shell-screenshot@ttll.de".overrideAttrs (old: {
# Requires gjs
# https://github.com/NixOS/nixpkgs/issues/136112
postPatch = ''
for file in *.js; do
substituteInPlace $file --replace "gjs" "${gjs}/bin/gjs"
done
'';
});
} }