7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
16 lines
309 B
Nix
16 lines
309 B
Nix
{
|
|
lib,
|
|
mpv-unwrapped,
|
|
ocl-icd,
|
|
}:
|
|
|
|
mpv-unwrapped.wrapper {
|
|
mpv = mpv-unwrapped.override { vapoursynthSupport = true; };
|
|
extraMakeWrapperArgs = [
|
|
# Add paths to required libraries
|
|
"--prefix"
|
|
"LD_LIBRARY_PATH"
|
|
":"
|
|
"/run/opengl-driver/lib:${lib.makeLibraryPath [ ocl-icd ]}"
|
|
];
|
|
}
|