diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-05-06 21:03:49 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-05-06 21:03:49 +0000 |
commit | 166f375bd2a30ff875796522ca240dc1752193da (patch) | |
tree | 17d012e262c87cc0fb87fb1180bbf488ba607736 /pkgs/development/tools/analysis | |
parent | 5d9d28fb1f3f763fc8c3d68bbedbc92211a2ee2a (diff) |
Fixing spin's references to cpp
svn path=/nixpkgs/trunk/; revision=15478
Diffstat (limited to 'pkgs/development/tools/analysis')
-rw-r--r-- | pkgs/development/tools/analysis/spin/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/spin/default.nix b/pkgs/development/tools/analysis/spin/default.nix index f2a48cc093399..cedd9584414fb 100644 --- a/pkgs/development/tools/analysis/spin/default.nix +++ b/pkgs/development/tools/analysis/spin/default.nix @@ -8,9 +8,12 @@ stdenv.mkDerivation { sha256 = "03c6bmar4z13jx7dddb029f0qnmgl8x4hyfwn3qijjyd4dbliiw6"; }; - preConfigure = "cd Src*"; buildInputs = [ flex yacc tk ]; + patchPhase = '' + cd Src* + sed -i -e 's/-DNXT/-DNXT -DCPP="\\"gcc -E -x c\\""/' makefile + ''; installPhase = '' ensureDir $out/bin cp ../Xspin*/xsp* $out/bin/xspin |