From f8b1a1db26fa9092206801f7589141721433251e Mon Sep 17 00:00:00 2001 From: Arie Middelkoop Date: Thu, 16 Feb 2012 23:55:46 +0000 Subject: [PATCH] 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 --- pkgs/development/tools/misc/coccinelle/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/misc/coccinelle/default.nix b/pkgs/development/tools/misc/coccinelle/default.nix index 276c3bd1ed0..ce3eb9cf5ec 100644 --- a/pkgs/development/tools/misc/coccinelle/default.nix +++ b/pkgs/development/tools/misc/coccinelle/default.nix @@ -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 '';