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

This commit is contained in:
numinit
2025-12-14 00:14:36 +00:00
committed by GitHub
@@ -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