Unverified Commit e957f43d authored by Nick Cao's avatar Nick Cao
Browse files

julia_111: init at 1.11.0

parent 89dcf5ff
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 = [
+2 −1
Original line number Diff line number Diff line
@@ -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;