From 1ca6ebdda0dc47b8794779062ff83b837fe251fa Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sat, 3 Sep 2022 03:34:10 +0300 Subject: [PATCH] build(nix): add missing library for voxygen --- flake.nix | 8 -------- voxygen/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 59bd9342f8..c5f717139f 100644 --- a/flake.nix +++ b/flake.nix @@ -137,11 +137,6 @@ ${oldAttrs.postConfigure or ""} ${configMoldLinker} ''; - postInstall = '' - ${oldAttrs.postInstall or ""} - wrapProgram $out/bin/veloren-voxygen \ - --set LD_LIBRARY_PATH ${lib.makeLibraryPath common.runtimeLibs} - ''; }; veloren-server-cli-deps = oldAttrs: { doCheck = false; @@ -164,9 +159,6 @@ ${oldAttrs.postConfigure or ""} ${configMoldLinker} ''; - postInstall = '' - ${oldAttrs.postInstall or ""} - ''; }; }; }; diff --git a/voxygen/Cargo.toml b/voxygen/Cargo.toml index a5b7ffe64e..ea9826dbf7 100644 --- a/voxygen/Cargo.toml +++ b/voxygen/Cargo.toml @@ -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. """ -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] hot-anim = ["anim/use-dyn-lib"]