xtreemfs: fix substituteInPlace paths

This commit is contained in:
Robin Gloster 2016-08-27 21:56:45 +00:00
parent 6f9d474db1
commit b37460ec63
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -42,15 +42,19 @@ stdenv.mkDerivation rec {
substituteInPlace etc/init.d/generate_initd_scripts.sh \
--replace "/bin/bash" "${stdenv.shell}"
substituteInPlace cpp/thirdparty/gtest-1.7.0/configure \
--replace "/usr/bin/file" "${file}/bin/file"
substituteInPlace cpp/thirdparty/protobuf-2.5.0/configure \
--replace "/usr/bin/file" "${file}/bin/file"
substituteInPlace cpp/thirdparty/protobuf-2.5.0/gtest/configure \
--replace "/usr/bin/file" "${file}/bin/file"
# do not put cmake into buildInputs
export PATH="$PATH:${cmake}/bin"
'';
preBuild = ''
substituteInPlace configure \
--replace "/usr/bin/file" "${file}/bin/file"
'';
doCheck = false;
postInstall = ''