python.packages.tensorflow: repair postFixup phase

Remove an extra dot.
Fixes #41163
This commit is contained in:
Jean-Philippe Bernardy 2018-06-12 09:11:56 +02:00
parent 04d3e130b8
commit 7e1f9da6bc

View File

@ -71,7 +71,7 @@ in buildPythonPackage rec {
lib.optionalString (stdenv.isLinux) ''
rrPath="$out/${python.sitePackages}/tensorflow/:${rpath}"
internalLibPath="$out/${python.sitePackages}/tensorflow/python/_pywrap_tensorflow_internal.so"
find $out -name '*.${stdenv.hostPlatform.extensions.sharedLibrary}' -exec patchelf --set-rpath "$rrPath" {} \;
find $out -name '*${stdenv.hostPlatform.extensions.sharedLibrary}' -exec patchelf --set-rpath "$rrPath" {} \;
'';