diff options
author | Kosyrev Serge <_deepfire@feelingofgreen.ru> | 2017-03-19 05:28:02 +0300 |
---|---|---|
committer | Kosyrev Serge <_deepfire@feelingofgreen.ru> | 2017-03-19 05:29:57 +0300 |
commit | d860a68fd0f203983a734094ef6eb78707c586c2 (patch) | |
tree | fa58103eb2a88607acd05d26981985e1e2acd9f0 /pkgs/os-specific | |
parent | d18f55269c3a0d83c0c34875b6047adb12e4b581 (diff) | |
download | nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar.gz nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar.bz2 nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar.lz nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar.xz nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.tar.zst nixpkgs-d860a68fd0f203983a734094ef6eb78707c586c2.zip |
nvidia-x11: $bin can be empty
Diffstat (limited to 'pkgs/os-specific')
-rwxr-xr-x | pkgs/os-specific/linux/nvidia-x11/builder.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index 24a2e2cf06f..99813d38236 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -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. |