From 858e9e36fb30ec88060ce979e5df8a347133ac68 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 3 Feb 2023 15:56:21 +0300 Subject: [PATCH] nvidia_x11: don't leak the kernel reference into nvidia-settings --- pkgs/os-specific/linux/nvidia-x11/settings.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index 884ccdd6c52d..5570228d78bf 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -25,7 +25,7 @@ let cd src/libXNVCtrl ''; - makeFlags = nvidia_x11.makeFlags ++ [ + makeFlags = [ "OUTPUTDIR=." # src/libXNVCtrl ]; @@ -59,7 +59,7 @@ stdenv.mkDerivation { ''; enableParallelBuilding = true; - makeFlags = nvidia_x11.makeFlags ++ [ "NV_USE_BUNDLED_LIBJANSSON=0" ]; + makeFlags = [ "NV_USE_BUNDLED_LIBJANSSON=0" ]; preBuild = '' if [ -e src/libXNVCtrl/libXNVCtrl.a ]; then