gnomeExtensions.screen-autorotate: Patch gjs path

Fixes #164865
This commit is contained in:
piegames 2022-03-26 13:24:42 +01:00
parent 2ccc472a8a
commit 4edf59e00a

View File

@ -61,6 +61,16 @@ super: lib.trivial.pipe super [
'';
}))
(patchExtension "screen-autorotate@kosmospredanie.yandex.ru" (old: {
# Requires gjs
# https://github.com/NixOS/nixpkgs/issues/164865
postPatch = ''
for file in *.js; do
substituteInPlace $file --replace "gjs" "${gjs}/bin/gjs"
done
'';
}))
(patchExtension "shell-volume-mixer@derhofbauer.at" (old: {
patches = [
(substituteAll {