mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
julia_111: init at 1.11.0
This commit is contained in:
parent
89dcf5ffc4
commit
e957f43d11
|
@ -9,12 +9,14 @@
|
|||
, which
|
||||
, python3
|
||||
, gfortran
|
||||
, cacert
|
||||
, cmake
|
||||
, perl
|
||||
, gnum4
|
||||
, openssl
|
||||
, libxml2
|
||||
, zlib
|
||||
, buildPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -42,12 +44,18 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
libxml2
|
||||
zlib
|
||||
] ++ lib.optionals (lib.versionAtLeast version "1.11") [
|
||||
cacert
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'' + lib.optionalString (lib.versionAtLeast version "1.11") ''
|
||||
substituteInPlace deps/curl.mk \
|
||||
--replace-fail 'cd $(dir $<) && $(TAR) jxf $(notdir $<)' \
|
||||
'cd $(dir $<) && $(TAR) jxf $(notdir $<) && sed -i "s|/usr/bin/env perl|${lib.getExe buildPackages.perl}|" curl-$(CURL_VER)/scripts/cd2nroff'
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
|
|
|
@ -15183,7 +15183,8 @@ with pkgs;
|
|||
julia_110-bin
|
||||
julia_111-bin
|
||||
julia_19
|
||||
julia_110;
|
||||
julia_110
|
||||
julia_111;
|
||||
|
||||
julia-lts = julia_16-bin;
|
||||
julia-stable = julia_110;
|
||||
|
|
Loading…
Reference in a new issue