gamescope: use --replace-fail

This commit is contained in:
Gliczy
2024-12-16 22:35:55 +01:00
parent 08daba9d2f
commit 7f846d5934
+1 -1
View File
@@ -68,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
# We can't substitute the patch itself because substituteAll is itself a derivation,
# so `placeholder "out"` ends up pointing to the wrong place
postPatch = ''
substituteInPlace src/reshade_effect_manager.cpp --replace "@out@" "$out"
substituteInPlace src/reshade_effect_manager.cpp --replace-fail "@out@" "$out"
# Patching shebangs in the main `libdisplay-info` build
patchShebangs subprojects/libdisplay-info/tool/gen-search-table.py
# Replace gamescopereeaper with absolute path