diff options
author | Mauricio Collares <mauricio@collares.org> | 2022-11-27 15:15:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 15:15:19 -0300 |
commit | dad9d4f76e2de2d15d22dcf40307cf844e8c9d29 (patch) | |
tree | 6609e8e8d78fcea08c41894b2bd5aa59aabe41b8 /pkgs/applications/science/math/pari/default.nix | |
parent | 6ff09ebe045ba5c048fa30ed1aa42c928dacb11f (diff) | |
parent | 91e59727c03f37d11ec87f8a76cb07c615d15805 (diff) |
Merge pull request #203170 from jiegec/pari
pari: unbreak on aarch64-darwin
Diffstat (limited to 'pkgs/applications/science/math/pari/default.nix')
-rw-r--r-- | pkgs/applications/science/math/pari/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix index 933ad45fd5197..0aa167216e8ae 100644 --- a/pkgs/applications/science/math/pari/default.nix +++ b/pkgs/applications/science/math/pari/default.nix @@ -40,7 +40,7 @@ stdenv.mkDerivation rec { "--with-gmp=${lib.getDev gmp}" "--with-readline=${lib.getDev readline}" ] - ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin" + ++ lib.optional stdenv.isDarwin "--host=${stdenv.system}" ++ lib.optional withThread "--mt=pthread"; preConfigure = '' @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { ''; postConfigure = lib.optionalString stdenv.isDarwin '' - echo 'echo x86_64-darwin' > config/arch-osname + echo 'echo ${stdenv.system}' > config/arch-osname ''; makeFlags = [ "all" ]; @@ -83,7 +83,6 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; maintainers = with maintainers; [ ertes ] ++ teams.sage.members; platforms = platforms.linux ++ platforms.darwin; - broken = stdenv.isDarwin && stdenv.isAarch64; mainProgram = "gp"; }; } |