Commit 82fffb56 authored by Tim Van Baak's avatar Tim Van Baak
Browse files

szurubooru: wrap szuru-admin with the required ffmpeg version

parent 85a703d9
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