about summary refs log tree commit diff
path: root/pkgs/applications/science/math/pari/default.nix
diff options
context:
space:
mode:
authorR. Ryantm <ryantm-bot@ryantm.com>2022-09-23 01:31:35 +0000
committerMauricio Collares <mauricio@collares.org>2022-11-27 20:39:59 -0300
commit081289609ec6a274793bd47f9e302fc3a6500c5b (patch)
treee4dcd0fbb8da952ead3678d13299caa87e8f9630 /pkgs/applications/science/math/pari/default.nix
parentdad9d4f76e2de2d15d22dcf40307cf844e8c9d29 (diff)
pari: 2.13.4 -> 2.15.1
Diffstat (limited to 'pkgs/applications/science/math/pari/default.nix')
-rw-r--r--pkgs/applications/science/math/pari/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix
index 0aa167216e8ae..91cf4ae4f3894 100644
--- a/pkgs/applications/science/math/pari/default.nix
+++ b/pkgs/applications/science/math/pari/default.nix
@@ -14,7 +14,7 @@ assert withThread -> libpthreadstubs != null;
 
 stdenv.mkDerivation rec {
   pname = "pari";
-  version = "2.13.4";
+  version = "2.15.1";
 
   src = fetchurl {
     urls = [
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
       # old versions are at the url below
       "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"
     ];
-    hash = "sha256-vN6ezq4VkoFDgcFpfNtwY1Z7ZQQgGxvke7WJIPO84YU=";
+    hash = "sha256-RUGdt3xmhb7mfkLg7LeOGe9WK+eq/GN8ikGXDy6Qnj0=";
   };
 
   buildInputs = [
@@ -40,17 +40,12 @@ stdenv.mkDerivation rec {
     "--with-gmp=${lib.getDev gmp}"
     "--with-readline=${lib.getDev readline}"
   ]
-  ++ lib.optional stdenv.isDarwin "--host=${stdenv.system}"
   ++ lib.optional withThread "--mt=pthread";
 
   preConfigure = ''
     export LD=$CC
   '';
 
-  postConfigure = lib.optionalString stdenv.isDarwin ''
-    echo 'echo ${stdenv.system}' > config/arch-osname
-  '';
-
   makeFlags = [ "all" ];
 
   meta = with lib; {