mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #222396 from arcnmx/parsec-vulkan
parsec-bin: vulkan renderer dependency
This commit is contained in:
commit
6e85fe5b60
1 changed files with 9 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue