mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-23 01:41:05 +03:00
xtreemfs: fix substituteInPlace paths
This commit is contained in:
parent
6f9d474db1
commit
b37460ec63
1 changed files with 9 additions and 5 deletions
|
@ -42,15 +42,19 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace etc/init.d/generate_initd_scripts.sh \
|
substituteInPlace etc/init.d/generate_initd_scripts.sh \
|
||||||
--replace "/bin/bash" "${stdenv.shell}"
|
--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
|
# do not put cmake into buildInputs
|
||||||
export PATH="$PATH:${cmake}/bin"
|
export PATH="$PATH:${cmake}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
substituteInPlace configure \
|
|
||||||
--replace "/usr/bin/file" "${file}/bin/file"
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue