Unverified Commit 25bc031d authored by numinit's avatar numinit Committed by GitHub
Browse files

szurubooru: wrap szuru-admin with the required ffmpeg version (#469517)

parents 2c4c58c1 82fffb56
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  nixosTests,
  fetchPypi,
  python3,
  ffmpeg_4-full,
}:

let
@@ -68,6 +69,10 @@ python.pkgs.buildPythonApplication {
    yt-dlp
  ];

  makeWrapperArgs = [
    "--prefix PATH : ${lib.makeBinPath [ ffmpeg_4-full ]}"
  ];

  postInstall = ''
    mkdir $out/bin
    install -m0755 $src/szuru-admin $out/bin/szuru-admin