This commit is contained in:
Lukas Wurzinger 2025-07-07 19:28:29 +02:00
commit 69940d48d2
No known key found for this signature in database
6 changed files with 259 additions and 0 deletions

21
package.nix Normal file
View file

@ -0,0 +1,21 @@
{
mpv,
symlinkJoin,
makeWrapper,
}:
symlinkJoin {
inherit (mpv)
name
meta
passthru
;
paths = [ mpv ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/${mpv.meta.mainProgram} \
--add-flag --config-dir=${./config}
'';
}