Commit e18154d9 authored by Roland Coeurjoly's avatar Roland Coeurjoly
Browse files

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

parent 9f28e302
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = ''