BuildBot: Fix erroneous absolute paths.
svn path=/nixpkgs/trunk/; revision=19415
This commit is contained in:
parent
5080aa43d3
commit
54322bbd02
@ -9,6 +9,16 @@ buildPythonPackage (rec {
|
|||||||
sha256 = "0h77ijf5iqvc8bnfxpsh3hvpr7wj23pkcywd3hcyphv1wwlhmhjv";
|
sha256 = "0h77ijf5iqvc8bnfxpsh3hvpr7wj23pkcywd3hcyphv1wwlhmhjv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patchPhase =
|
||||||
|
# The code insists on /usr/bin/tail, /usr/bin/make, etc.
|
||||||
|
'' echo "patching erroneous absolute path references..."
|
||||||
|
for i in $(find -name \*.py)
|
||||||
|
do
|
||||||
|
sed -i "$i" \
|
||||||
|
-e "s|/usr/bin/python|$(type -P python)|g ; s|/usr/bin/||g"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ texinfo ];
|
buildInputs = [ texinfo ];
|
||||||
propagatedBuildInputs = [ twisted ];
|
propagatedBuildInputs = [ twisted ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user