nvidia-x11: Attempt to fix library-only build
https://github.com/NixOS/nixpkgs/commit/1fb0d3d158c193af1ee7fa6b0f9744df9f5a1484#commitcomment-26554956
This commit is contained in:
@@ -62,7 +62,8 @@ let
|
||||
|
||||
libPath = makeLibraryPath [ xorg.libXext xorg.libX11 xorg.libXv xorg.libXrandr zlib stdenv.cc.cc ];
|
||||
|
||||
nativeBuildInputs = [ perl nukeReferences ] ++ kernel.moduleBuildDependencies;
|
||||
nativeBuildInputs = [ perl nukeReferences ]
|
||||
++ optionals (!libsOnly) kernel.moduleBuildDependencies;
|
||||
|
||||
disallowedReferences = optional (!libsOnly) [ kernel.dev ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user