1
0
Fork 1
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:
Nick Cao 2024-10-08 12:12:04 -04:00
parent 89dcf5ffc4
commit e957f43d11
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View file

@ -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 = [

View file

@ -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;