miku: Override mpv to prefix with DRI_PRIME
This commit is contained in:
parent
1b64ecf4d7
commit
429a4c1eef
@ -26,6 +26,7 @@ in {
|
|||||||
# sha256 = "0r2pcc6sjxmhg1xxk23648wrwccv2c5v44cfwglx35az5y0hmr1f";
|
# sha256 = "0r2pcc6sjxmhg1xxk23648wrwccv2c5v44cfwglx35az5y0hmr1f";
|
||||||
#}))
|
#}))
|
||||||
|
|
||||||
|
# Steam overlay
|
||||||
(final: prev:
|
(final: prev:
|
||||||
let
|
let
|
||||||
# NOTE: This is a really messy solution
|
# NOTE: This is a really messy solution
|
||||||
@ -48,6 +49,16 @@ in {
|
|||||||
steamcmd = final.steamPackages.steamcmd;
|
steamcmd = final.steamPackages.steamcmd;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Simple overrides
|
||||||
|
(final: prev: {
|
||||||
|
mpv = prev.wrapMpv prev.mpv-unwrapped {
|
||||||
|
# Prevent the need for prefixing mpv with DRI_PRIME=1
|
||||||
|
extraMakeWrapperArgs = [
|
||||||
|
"--set" "DRI_PRIME" "1"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
})
|
||||||
|
|
||||||
customPkgs
|
customPkgs
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user