3
0
Fork 0
forked from mirrors/nixpkgs

Cscope: Fix erroneous substitution that caused Cscope to depend on all

of stdenv.

svn path=/nixpkgs/trunk/; revision=12714
This commit is contained in:
Ludovic Courtès 2008-08-25 19:34:14 +00:00
parent 988a1f1ef3
commit 74d72ee6bf

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
sed -i "contrib/xcscope/cscope-indexer" \ sed -i "contrib/xcscope/cscope-indexer" \
-"es|^PATH=.*$|PATH=\"$out/bin:$PATH\"|g" -"es|^PATH=.*$|PATH=\"$out/bin:\$PATH\"|g"
sed -i "contrib/xcscope/xcscope.el" \ sed -i "contrib/xcscope/xcscope.el" \
-"es|\"cscope-indexer\"|\"$out/libexec/cscope/cscope-indexer\"|g"; -"es|\"cscope-indexer\"|\"$out/libexec/cscope/cscope-indexer\"|g";
''; '';