mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
17 lines
310 B
Nix
17 lines
310 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 ]}"
|
|
];
|
|
}
|