Skip to content

relibc: init#475237

Draft
Eveeifyeve wants to merge 1 commit into
NixOS:masterfrom
nix-redox:relibc
Draft

relibc: init#475237
Eveeifyeve wants to merge 1 commit into
NixOS:masterfrom
nix-redox:relibc

Conversation

@Eveeifyeve

@Eveeifyeve Eveeifyeve commented Dec 30, 2025

Copy link
Copy Markdown
Member

Redone relibc pr. A lot of issues that involved fetchFromGitLab, cargoLock defined instead we can use cargoHash(vendored), some werid changes to aliases to deprecated packages, staleness, merge conflicts and more.

Closes: #453786
Fixes: #93661

Waiting on #475235 to be merged first before we rebase and merge this one.

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.

Comment thread pkgs/os-specific/redox-os/libc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/relibc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/libc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/relibc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/relibc/default.nix
@Eveeifyeve

Eveeifyeve commented Jan 2, 2026

Copy link
Copy Markdown
Member Author

Unfortunately there is no pkgsCross for redox os. That might be something to consider after this pr for sure.

Comment thread pkgs/os-specific/redox-os/relibc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/relibc/default.nix
Comment thread pkgs/os-specific/redox-os/relibc/default.nix Outdated
Comment thread pkgs/os-specific/redox-os/relibc/default.nix Outdated
@Eveeifyeve Eveeifyeve force-pushed the relibc branch 3 times, most recently from d483c9f to ff1f352 Compare March 1, 2026 12:33
@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Mar 4, 2026
@Eveeifyeve Eveeifyeve marked this pull request as draft April 15, 2026 19:18
@Eveeifyeve

This comment was marked as resolved.

@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 15, 2026
@Eveeifyeve

This comment was marked as duplicate.

Co-authored-by: =?UTF-8?q?Anders=20Christiansen=20S=C3=B8rby?=
<anders@sorby.xyz>
Co-authored-by: Boosted-Bonobo <boostedbonobo1@outlook.com>
@Eveeifyeve Eveeifyeve marked this pull request as ready for review April 17, 2026 01:36
@Eveeifyeve

Eveeifyeve commented Apr 17, 2026

Copy link
Copy Markdown
Member Author

I have fixed redox os and I have pr up for submission which requires redox to update their pinned toolchain: https://gitlab.redox-os.org/redox-os/relibc/-/merge_requests/1204

However the pr can't be merged yet, because they need to update their own custom rust. Which I am not doing now, because I need sleep I have had ~15+ hours without sleep.

@Eveeifyeve Eveeifyeve left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There is some current issues that need to be fixed by the Redox team before we can ship as a platform:

  • Remove the dependence on a custom fork of rust. Which uses a custom fork of cargo (used in rust) and rust llvm (used in rust).
    • Redox team has stated they do want to move to upstream with rust, but are not sure about where they are with that. Matrix message:
      • auronandace: We do want to move to upstream. Not sure where we are with that.

  • Also llvm need to support redox.
  • Dependence on nightly features. (Not required, but would reduce the breakages of relibc between rust versions)

@Eveeifyeve Eveeifyeve marked this pull request as draft April 17, 2026 15:04
@Eveeifyeve Eveeifyeve force-pushed the relibc branch 4 times, most recently from fe80497 to e21c929 Compare April 17, 2026 17:37
@Eveeifyeve Eveeifyeve added 2.status: wait-for-upstream Waiting for upstream fix (or their other action). and removed 2.status: wait-for-upstream Waiting for upstream fix (or their other action). labels Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build relibc from source, enable linux builds

4 participants