build(nix): add missing library for voxygen

This commit is contained in:
Yusuf Bera Ertan 2022-09-03 03:34:10 +03:00
parent d64417b41a
commit 1ca6ebdda0
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 1 additions and 9 deletions

View File

@ -137,11 +137,6 @@
${oldAttrs.postConfigure or ""} ${oldAttrs.postConfigure or ""}
${configMoldLinker} ${configMoldLinker}
''; '';
postInstall = ''
${oldAttrs.postInstall or ""}
wrapProgram $out/bin/veloren-voxygen \
--set LD_LIBRARY_PATH ${lib.makeLibraryPath common.runtimeLibs}
'';
}; };
veloren-server-cli-deps = oldAttrs: { veloren-server-cli-deps = oldAttrs: {
doCheck = false; doCheck = false;
@ -164,9 +159,6 @@
${oldAttrs.postConfigure or ""} ${oldAttrs.postConfigure or ""}
${configMoldLinker} ${configMoldLinker}
''; '';
postInstall = ''
${oldAttrs.postInstall or ""}
'';
}; };
}; };
}; };

View File

@ -18,7 +18,7 @@ It is inspired by games such as Cube World, Legend of Zelda: Breath of the Wild,
This package includes the official client, Voxygen. This package includes the official client, Voxygen.
""" """
runtimeLibs = ["libGL", "xorg.libX11", "xorg.libXcursor", "xorg.libXrandr", "xorg.libXi", "vulkan-loader", "vulkan-extension-layer"] runtimeLibs = ["libGL", "xorg.libX11", "xorg.libXcursor", "xorg.libXrandr", "xorg.libXi", "vulkan-loader", "vulkan-extension-layer", "shaderc.lib"]
[features] [features]
hot-anim = ["anim/use-dyn-lib"] hot-anim = ["anim/use-dyn-lib"]