Author: roconnor Date: Sat Apr 23 12:36:36 2011 New Revision: 26931 URL: https://svn.nixos.org/websvn/nix/?rev=26931&sc=1
Log: adding ecm support to msieve. Modified: nixpkgs/trunk/pkgs/applications/science/math/msieve/default.nix Modified: nixpkgs/trunk/pkgs/applications/science/math/msieve/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/applications/science/math/msieve/default.nix Sat Apr 23 12:25:51 2011 (r26930) +++ nixpkgs/trunk/pkgs/applications/science/math/msieve/default.nix Sat Apr 23 12:36:36 2011 (r26931) @@ -1,4 +1,4 @@ -{stdenv, fetchurl, zlib, gmp}: +{stdenv, fetchurl, zlib, gmp, ecm }: stdenv.mkDerivation { name = "msieve-1.48"; @@ -8,7 +8,9 @@ sha256 = "05cm23mpfsbwssqda243sbi8m31j783qx89x9gl7sy8a4dnv7h63"; }; - buildInputs = [ zlib gmp ]; + buildInputs = [ zlib gmp ecm ]; + + ECM = if ecm == null then "0" else "1"; buildFlags = if stdenv.system == "x86_64-linux" then "x86_64" else if stdenv.system == "i686-linux" then "x86" _______________________________________________ nix-commits mailing list nix-comm...@cs.uu.nl http://mail.cs.uu.nl/mailman/listinfo/nix-commits