From b2ee4908adafc02c36975fb65d2618ed04d182ab Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 25 Jan 2024 10:09:22 +0000 Subject: [PATCH] nvidia-x11: revert "add an assert that `useSettings` implies more than `libsOnly`" THe change caused nixGL instantiation failures: - https://github.com/nix-community/nixGL/issues/157 - https://github.com/nix-community/nixGL/issues/154 I missed the fact that there is no easy way to oberride `useSettings` as it's an internal argument as ollosed to `useLibs`. Instead of fixing it let's revert it back and try again later. This reverts commit 9c51fb0606181c9b6b35ccfd8bd8e368d388c154. --- pkgs/os-specific/linux/nvidia-x11/generic.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/generic.nix b/pkgs/os-specific/linux/nvidia-x11/generic.nix index 44ed90a3bb212..2cbc1846362bb 100644 --- a/pkgs/os-specific/linux/nvidia-x11/generic.nix +++ b/pkgs/os-specific/linux/nvidia-x11/generic.nix @@ -60,7 +60,6 @@ with lib; -assert useSettings -> !libsOnly; assert !libsOnly -> kernel != null; assert versionOlder version "391" -> sha256_32bit != null; assert useSettings -> settingsSha256 != null;