forked from mirrors/nixpkgs
Merge pull request #149177 from garrison/julia-python3
julia: switch from python2 to python3
This commit is contained in:
commit
71dfb6b33a
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchpatch, fetchurl, fetchzip
|
||||
# build tools
|
||||
, gfortran, m4, makeWrapper, patchelf, perl, which, python2
|
||||
, gfortran, m4, makeWrapper, patchelf, perl, which, python3
|
||||
, cmake
|
||||
# libjulia dependencies
|
||||
, libunwind, readline, utf8proc, zlib
|
||||
|
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = src_sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake curl gfortran m4 makeWrapper patchelf perl python2 which ];
|
||||
nativeBuildInputs = [ cmake curl gfortran m4 makeWrapper patchelf perl python3 which ];
|
||||
# cmake is only used to build the bundled deps
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchzip
|
||||
# build tools
|
||||
, gfortran, m4, makeWrapper, patchelf, perl, which, python2, cmake
|
||||
, gfortran, m4, makeWrapper, patchelf, perl, which, python3, cmake
|
||||
# libjulia dependencies
|
||||
, libunwind, readline, utf8proc, zlib
|
||||
# standard library dependencies
|
||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
|||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [CoreServices ApplicationServices];
|
||||
|
||||
nativeBuildInputs = [ curl gfortran m4 makeWrapper patchelf perl python2 which cmake ];
|
||||
nativeBuildInputs = [ curl gfortran m4 makeWrapper patchelf perl python3 which cmake ];
|
||||
|
||||
makeFlags =
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue