mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge commit 'refs/pull/24045/head' of git://github.com/NixOS/nixpkgs
This commit is contained in:
commit
b1871631a8
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue