mpv: use makeBinaryWrapper to wrap mpv executable (#444931)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
libvdpau,
|
||||
libxkbcommon,
|
||||
lua,
|
||||
makeWrapper,
|
||||
makeBinaryWrapper,
|
||||
libgbm,
|
||||
meson,
|
||||
mujs,
|
||||
@@ -159,7 +159,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
buildPackages.darwin.sigtool
|
||||
swift
|
||||
makeWrapper
|
||||
makeBinaryWrapper
|
||||
]
|
||||
++ lib.optionals waylandSupport [ wayland-scanner ];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv,
|
||||
buildEnv,
|
||||
lib,
|
||||
makeWrapper,
|
||||
makeBinaryWrapper,
|
||||
mpvScripts,
|
||||
symlinkJoin,
|
||||
writeTextDir,
|
||||
@@ -102,7 +102,7 @@ let
|
||||
# TODO: don't link all mpv outputs and convert package to mpv-unwrapped?
|
||||
paths = [ mpv.all ];
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
passthru.unwrapped = mpv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user