Merge pull request #222396 from arcnmx/parsec-vulkan

parsec-bin: vulkan renderer dependency
This commit is contained in:
Atemu 2023-12-22 21:51:31 +01:00 committed by GitHub
commit 6e85fe5b60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,9 @@
, libpng
, libjpeg8
, curl
, vulkan-loader
, gnome
, zenity ? gnome.zenity
}:
stdenvNoCC.mkDerivation {
@ -64,6 +67,11 @@ stdenvNoCC.mkDerivation {
libXi
libXrandr
libXfixes
vulkan-loader
];
binPath = lib.makeBinPath [
zenity
];
prepareParsec = ''
@ -80,6 +88,7 @@ stdenvNoCC.mkDerivation {
mv usr/* $out
wrapProgram $out/bin/parsecd \
--prefix PATH : "$binPath" \
--prefix LD_LIBRARY_PATH : "$runtimeDependenciesPath" \
--run "$prepareParsec"