Skip to content

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/mrustc/versions.

meta.description for mrustc is: Mutabah's Rust Compiler

meta.homepage for mrustc is: https://github.com/thepowersgang/mrustc

Updates performed
  • Version update
To inspect upstream changes
Impact

Checks done


  • built on NixOS
  • The tests defined in passthru.tests, if any, passed
  • found 0.11.2 with grep in /nix/store/8j93nn2yd7007vl6n39av0qwq5xsp8li-mrustc-0.11.2
  • found 0.11.2 in filename of file in /nix/store/8j93nn2yd7007vl6n39av0qwq5xsp8li-mrustc-0.11.2

Rebuild report (if merged into master) (click to expand)
4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

mrustc
mrustc-bootstrap
mrustc-minicargo
Instructions to test this update (click to expand)

Either download from the cache:

nix-store -r /nix/store/8j93nn2yd7007vl6n39av0qwq5xsp8li-mrustc-0.11.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A mrustc https://github.com/r-ryantm/nixpkgs/archive/e2ad94bd4c45e2ec691acb682ed361cafdc56c0d.tar.gz

Or:

nix build github:r-ryantm/nixpkgs/e2ad94bd4c45e2ec691acb682ed361cafdc56c0d#mrustc

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/8j93nn2yd7007vl6n39av0qwq5xsp8li-mrustc-0.11.2
ls -la /nix/store/8j93nn2yd7007vl6n39av0qwq5xsp8li-mrustc-0.11.2/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review


x86_64-linux

✅ 2 packages built:
  • mrustc
  • mrustc-minicargo

Maintainer pings

cc @progval @r-burns for testing.

Tip

As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.


Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 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. labels Jan 19, 2025
@nix-owners nix-owners bot requested review from r-burns and progval January 19, 2025 12:49
@r-burns r-burns marked this pull request as draft January 20, 2025 10:25
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 19, 2025
@pyrox0
Copy link
Member

pyrox0 commented Aug 12, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 375039
Commit: e2ad94bd4c45e2ec691acb682ed361cafdc56c0d


x86_64-linux

✅ 2 packages built:
  • mrustc
  • mrustc-minicargo

@pyrox0
Copy link
Member

pyrox0 commented Aug 12, 2025

I would like to merge this, as it reduces a potential fully-from-source bootstrap chain for rust from 1.54+ to 1.74+, removing about 20 versions from the chain, and potential hours of CI time if we get a full-source bootstrap.

@pyrox0 pyrox0 marked this pull request as ready for review August 12, 2025 20:16
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 12, 2025
@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 12, 2025
@r-burns
Copy link
Contributor

r-burns commented Aug 13, 2025

Have you checked that mrustc-bootstrap still works? I think I marked this as a draft because that is likely to break, but it's a long build so I haven't tried it myself.

@pyrox0
Copy link
Member

pyrox0 commented Aug 16, 2025

This does seem to break the bootstrap. not sure what to do about that, if you want to investigate it. If not, fair enough.

@r-burns
Copy link
Contributor

r-burns commented Aug 16, 2025

Yeah let me look into that once I have some time. I think the bootstrap derivation is the real important part of what's here so I want to make sure it keeps working. I was able to update the no-download patch pretty easily, hopefully the bootstrap itself will go smoothly.

* Add perl, needed to run openssl's Configure script
* Remove no-longer-used openssl from input derivation
@r-burns
Copy link
Contributor

r-burns commented Aug 19, 2025

Cool, the bootstrap is working now. Needed to update the dont-download patch, and the bootstrap was changed upstream to use vendored openssl, which is actually convenient here as we don't need to figure out which hyper-specific old openssl version it needs to build against. Just needed to add perl so that it could run openssl's Configure script.

Still bootstrapping with 1.54, which I think is OK for now because it's more of a regression test for the bootstrapping proof-of-concept. Can always look into bumping it up to 1.74+ if/when we want to start using this in-tree for our rustc bootstrapping chain.

@nixpkgs-ci nixpkgs-ci bot added the 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. label Aug 19, 2025
@r-burns r-burns merged commit 62c4ed5 into NixOS:master Aug 19, 2025
26 of 29 checks passed
@r-ryantm r-ryantm deleted the auto-update/mrustc branch August 19, 2025 12:22
MultisampledNight pushed a commit to MultisampledNight/nixpkgs that referenced this pull request Aug 20, 2025
*  mrustc.bootstrap: update dont-download-rustc.patch
*  mrustc.bootstrap: fix vendored openssl build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

4 participants