Skip to content

Commit

Permalink
Merge commit 'refs/pull/24045/head' of git://github.com/NixOS/nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Mar 19, 2017
2 parents 5f488bf + d860a68 commit b187163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/nvidia-x11/builder.sh
Expand Up @@ -78,7 +78,7 @@ installPhase() {
fi

# All libs except GUI-only are installed now, so fixup them.
for libname in `find "$out/lib/" -name '*.so.*'` `find "$bin/lib/" -name '*.so.*'`
for libname in `find "$out/lib/" -name '*.so.*'` `test -z "$bin" || find "$bin/lib/" -name '*.so.*'`
do
# I'm lazy to differentiate needed libs per-library, as the closure is the same.
# Unfortunately --shrink-rpath would strip too much.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/nvidia-x11/generic.nix
Expand Up @@ -43,7 +43,7 @@ let
else throw "nvidia-x11 does not support platform ${stdenv.system}";

# patch to get the nvidia and nvidiaBeta driver to compile on kernel 4.10
patches = if versionOlder version "375"
patches = if libsOnly || versionOlder version "375"
then null
else [ (fetchurl {
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/kernel_4.10.patch?h=packages/nvidia; sha256 = "0zhpx3baq2pca2pmz1af5cp2nzjxjx0j9w5xrdy204mnv3v2708z";
Expand Down

0 comments on commit b187163

Please sign in to comment.