Loading pkgs/development/compilers/julia/generic.nix +8 −0 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ , which , python3 , gfortran , cacert , cmake , perl , gnum4 , openssl , libxml2 , zlib , buildPackages }: stdenv.mkDerivation rec { Loading Loading @@ -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 = [ Loading pkgs/top-level/all-packages.nix +2 −1 Original line number Diff line number Diff line Loading @@ -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
pkgs/development/compilers/julia/generic.nix +8 −0 Original line number Diff line number Diff line Loading @@ -9,12 +9,14 @@ , which , python3 , gfortran , cacert , cmake , perl , gnum4 , openssl , libxml2 , zlib , buildPackages }: stdenv.mkDerivation rec { Loading Loading @@ -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 = [ Loading
pkgs/top-level/all-packages.nix +2 −1 Original line number Diff line number Diff line Loading @@ -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;