Commit 8d6134b2 authored by Winter's avatar Winter
Browse files

gonic: don't use substituteStream --replace

parent ecf48614
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -30,18 +30,18 @@ buildGoModule rec {
  postPatch = lib.optionalString transcodingSupport ''
    substituteInPlace \
      transcode/transcode.go \
      --replace \
      --replace-fail \
        '`ffmpeg' \
        '`${lib.getBin ffmpeg}/bin/ffmpeg'
  '' + ''
    substituteInPlace \
      jukebox/jukebox.go \
      --replace \
      --replace-fail \
        '"mpv"' \
        '"${lib.getBin mpv}/bin/mpv"'
  '' + ''
    substituteInPlace server/ctrlsubsonic/testdata/test* \
      --replace \
      --replace-quiet \
        '"audio/flac"' \
        '"audio/x-flac"'
  '';