Skip to content

Commit

Permalink
nvidia-x11: Attempt to fix library-only build
Browse files Browse the repository at this point in the history
1fb0d3d#commitcomment-26554956
(cherry picked from commit 9fe81b5)
  • Loading branch information
dezgeg authored and FRidh committed Dec 31, 2017
1 parent 01f8250 commit a17d733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/os-specific/linux/nvidia-x11/generic.nix
Expand Up @@ -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 ];

Expand Down

0 comments on commit a17d733

Please sign in to comment.