diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-15 20:21:58 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-01-16 17:58:11 +0700 |
commit | badf51221db8fae81bf9948c39eaf8342dfd5597 (patch) | |
tree | 34eeb35ca97f0b081da465e9ddd6c120a9d2b7df /pkgs/applications/science/math/pari | |
parent | a9bb54359eeedf2594fdf191de5b673fd1dd102d (diff) | |
download | nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar.gz nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar.bz2 nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar.lz nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar.xz nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.tar.zst nixpkgs-badf51221db8fae81bf9948c39eaf8342dfd5597.zip |
treewide: stdenv.lib -> lib
Diffstat (limited to 'pkgs/applications/science/math/pari')
-rw-r--r-- | pkgs/applications/science/math/pari/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix index dd965e17c73..a99cbbbe0df 100644 --- a/pkgs/applications/science/math/pari/default.nix +++ b/pkgs/applications/science/math/pari/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { src = fetchurl { # Versions with current majorMinor values are at http://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz - url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; + url = "https://pari.math.u-bordeaux.fr/pub/pari/OLD/${lib.versions.majorMinor version}/${pname}-${version}.tar.gz"; sha256 = "sha256-v8iPxPc1L0hA5uNSxy8DacvqikVAOxg0piafNwmXCxw="; }; @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { libX11 tex perl - ] ++ stdenv.lib.optionals withThread [ + ] ++ lib.optionals withThread [ libpthreadstubs ]; @@ -34,14 +34,14 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-gmp=${gmp.dev}" "--with-readline=${readline.dev}" - ] ++ stdenv.lib.optional stdenv.isDarwin "--host=x86_64-darwin" - ++ stdenv.lib.optional withThread "--mt=pthread"; + ] ++ lib.optional stdenv.isDarwin "--host=x86_64-darwin" + ++ lib.optional withThread "--mt=pthread"; preConfigure = '' export LD=$CC ''; - postConfigure = stdenv.lib.optionalString stdenv.isDarwin '' + postConfigure = lib.optionalString stdenv.isDarwin '' echo 'echo x86_64-darwin' > config/arch-osname ''; |