From 26c6b2eb794d0bf0f12cb3430b6084bfe2f57d9d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 23 Feb 2022 13:09:17 -0800 Subject: [PATCH] linuxPackages.nvidia_x11: fix vulkan icd installation paths --- pkgs/os-specific/linux/nvidia-x11/builder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 24ab34c4ea9d..75eb5d8757be 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -90,7 +90,7 @@ installPhase() { fi # nvidia currently only supports x86_64 and i686 - if [ "$system" = "i686-linux" ]; then + if [ "$i" == "$lib32" ]; then install -Dm644 nvidia_icd.json.fixed $i/share/vulkan/icd.d/nvidia_icd.i686.json else install -Dm644 nvidia_icd.json.fixed $i/share/vulkan/icd.d/nvidia_icd.x86_64.json