racer had a different source for 64-bit. Now it works in x86_64-linux too.

svn path=/nixpkgs/trunk/; revision=26521
This commit is contained in:
Lluís Batlle i Rossell 2011-03-25 23:37:44 +00:00
parent 4c3c311f75
commit af5952eb0b

View File

@ -3,10 +3,15 @@
stdenv.mkDerivation rec {
name = "racer-1.1";
src = fetchurl {
src = if stdenv.system == "i686-linux" then fetchurl {
url = http://hippo.nipax.cz/src/racer-1.1.tar.gz;
sha256 = "0fll1qkqfcjq87k0jzsilcw701z92lfxn2y5ga1n038772lymxl9";
};
} else if stdenv.system == "x86_64-linux" then fetchurl {
url = http://hippo.nipax.cz/src/racer-1.1.64.tar.gz;
sha256 = "0rjy3gmlhwfkb9zs58j0mc0dar0livwpbc19r6zw5r2k6r7xdan0";
} else
throw "System not supported";
buildInputs = [ allegro libjpeg makeWrapper ];