betterdiscordctl: substitute --replace with --replace-fail

This commit is contained in:
Roland Coeurjoly 2024-08-25 17:59:23 +02:00
parent 9f28e30252
commit e18154d9a4

View File

@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace betterdiscordctl \
--replace "DISABLE_SELF_UPGRADE=" "DISABLE_SELF_UPGRADE=yes"
--replace-fail "DISABLE_SELF_UPGRADE=" "DISABLE_SELF_UPGRADE=yes"
'';
installPhase = ''