Merge pull request from amarshall/resolve-studio-improve

davinci-resolve-studio: Automatically create license dir
This commit is contained in:
Orivej Desh (NixOS) 2024-02-09 08:16:30 +00:00 committed by GitHub
commit 055d532341
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -234,6 +234,10 @@ buildFHSEnv {
zlib
];
extraPreBwrapCmds = lib.optionalString studioVariant ''
mkdir -p ~/.local/share/DaVinciResolve/license || exit 1
'';
extraBwrapArgs = lib.optionals studioVariant [
"--bind \"$HOME\"/.local/share/DaVinciResolve/license ${davinci}/.license"
];