3
0
Fork 0
forked from mirrors/nixpkgs

Coccinelle: wrapper for 'spatch.opt'.

There was already a wrapper for spatch, but not for the optimized version 'spatch.opt'.
Actually, for coccinelle in nixpkgs, I'd propose to only provide the optimized version of
spatch, as it makes no difference for the end user.

svn path=/nixpkgs/trunk/; revision=32341
This commit is contained in:
Arie Middelkoop 2012-02-16 23:55:46 +00:00
parent a3da139c73
commit f8b1a1db26

View file

@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
--prefix "LD_LIBRARY_PATH" ":" "$out/lib" \
--prefix "PYTHONPATH" ":" "$out/share/coccinelle/python"
wrapProgram "$out/bin/spatch.opt" \
--prefix "LD_LIBRARY_PATH" ":" "$out/lib" \
--prefix "PYTHONPATH" ":" "$out/share/coccinelle/python"
yes | make test
'';