Skip to content

Commit

Permalink
nvidia-x11: $bin can be empty
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Mar 19, 2017
1 parent d18f552 commit d860a68
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d860a68

Please sign in to comment.