about summary refs log tree commit diff
path: root/pkgs/by-name/sv/svp/mpv.nix
blob: ac597bd91708eb0809402a91379e980a519597f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ 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 ]}"
  ];
}