Skip to content

julia_110: fix build with cmake 4#453885

Merged
wegank merged 1 commit intoNixOS:masterfrom
wegank:julia-110-fix
Oct 23, 2025
Merged

julia_110: fix build with cmake 4#453885
wegank merged 1 commit intoNixOS:masterfrom
wegank:julia-110-fix

Conversation

@wegank
Copy link
Member

@wegank wegank commented Oct 20, 2025

Closes #450297.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: julia Julia is a high-level, high-performance dynamic language for technical computing. labels Oct 20, 2025
@wegank wegank marked this pull request as ready for review October 20, 2025 15:28
@nix-owners nix-owners bot requested review from NickCao and thomasjm October 20, 2025 15:29
@Sigmanificient
Copy link
Member

Copy link
Contributor

@thomasjm thomasjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I built julia_19, julia_110, and julia_111 successfully on x86_64-linux with this, so LGTM.

@@ -60,6 +60,10 @@ stdenv.mkDerivation rec {
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'
''
+ lib.optionalString (lib.versionOlder version "1.12") ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to include version 1.12 here as well? #450240 is working on 1.12 support.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Julia 1.12 currently does not need the patch, as all of its dependencies have CMake 3.5 compatibility (see JuliaLang/julia#58186 (comment)).

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Oct 22, 2025
@wegank wegank added this pull request to the merge queue Oct 23, 2025
Merged via the queue into NixOS:master with commit 865050f Oct 23, 2025
25 checks passed
@wegank wegank deleted the julia-110-fix branch October 23, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: julia Julia is a high-level, high-performance dynamic language for technical computing. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: julia

3 participants