Merge pull request #214364 from K900/nvidia-kernel-deps-leak

nvidia_x11: don't leak the kernel reference into nvidia-settings
This commit is contained in:
K900 2023-02-04 13:25:33 +03:00 committed by GitHub
commit 9defd51f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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