Skip to content

Commit

Permalink
nvidia-x11: Attempt to fix library-only build
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Dec 30, 2017
1 parent 9d4de1e commit 9fe81b5
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 9fe81b5

Please sign in to comment.