rust-lang / rust-lang/rust

NixOS build should be tested in CI

Open
#127,616 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-CI O-NixOS T-infra
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

rustc bootstrap contains a lot of code specifically for making builds work smoothly on nixos... however, none of this code seems to be tested by CI.

recently, it seems that the addition of libstdc++ as a dependency of rustc has broken builds on nixos. i think stage1 should be built for nixos as part of CI to prevent this from happening in the future.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing rustc bootstrap's NixOS-specific build handling and the repository's existing CI build definitions. Add a stage1 NixOS build to CI, then verify that the build completes successfully and exercises the dependency setup that previously broke.

Written by the indexing model from the issue text.

Assessment

Tech stack
nixos, rust
Domain
build-system, ci-cd, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.