gnomeExtensions.screenshot-tool: Fix paths
Fixes #136112.
commit48064d95d944709a7eb679c0129c424c63c52371
authorpiegames <git@piegames.de>
dateWed 8 Sep 2021, 22:52 (5 years ago)
parent0ce4ae6
pkgs/desktops/gnome/extensions/extensionPatches.nix+10
@@ -19,4 +19,14 @@ super: super // {
1919 '';
2020 });
2121
22+ "gnome-shell-screenshot@ttll.de" = super."gnome-shell-screenshot@ttll.de".overrideAttrs (old: {
23+ # Requires gjs
24+ # https://github.com/NixOS/nixpkgs/issues/136112
25+ postPatch = ''
26+ for file in *.js; do
27+ substituteInPlace $file --replace "gjs" "${gjs}/bin/gjs"
28+ done
29+ '';
30+ });
31+
2232}