nvidia_x11: don't leak the kernel reference into nvidia-settings

This commit is contained in:
K900 2023-02-03 15:56:21 +03:00
parent 844d4d6dda
commit 858e9e36fb

View file

@ -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