forked from mirrors/nixpkgs
Fixing spin's references to cpp
svn path=/nixpkgs/trunk/; revision=15478
This commit is contained in:
parent
5d9d28fb1f
commit
166f375bd2
|
@ -8,9 +8,12 @@ stdenv.mkDerivation {
|
||||||
sha256 = "03c6bmar4z13jx7dddb029f0qnmgl8x4hyfwn3qijjyd4dbliiw6";
|
sha256 = "03c6bmar4z13jx7dddb029f0qnmgl8x4hyfwn3qijjyd4dbliiw6";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = "cd Src*";
|
|
||||||
buildInputs = [ flex yacc tk ];
|
buildInputs = [ flex yacc tk ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
cd Src*
|
||||||
|
sed -i -e 's/-DNXT/-DNXT -DCPP="\\"gcc -E -x c\\""/' makefile
|
||||||
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin
|
||||||
cp ../Xspin*/xsp* $out/bin/xspin
|
cp ../Xspin*/xsp* $out/bin/xspin
|
||||||
|
|
Loading…
Reference in a new issue