Skip to content

Commit

Permalink
chromium: use newer rustc 1.77 -> 1.80 to unbreak build
Browse files Browse the repository at this point in the history
chromium expects nightly/bleeding edge rustc features which we enable in
our stable rustc release by setting RUSTC_BOOTSTRAP=1.

The default rustc in 24.05 however is too old even with that workaround,
but thankfully we also have 1.80 as opt-in. So we use that.

This is slightly closer to the rustc version we have in unstable (1.82)
and should unbreak the build.

Previously: bad7d0f
  • Loading branch information
emilylange committed Nov 21, 2024
1 parent e655fce commit 71c3d9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ let
# cc1plus: error: '-Wformat-security' ignored without '-Wformat' [-Werror=format-security]
hardeningDisable = [ "format" ];
});
} // lib.optionalAttrs (chromiumVersionAtLeast "131") {
buildPackages = buildPackages // { inherit (buildPackages.rustPackages_1_80) rustc; };
});

browser = callPackage ./browser.nix {
Expand Down

0 comments on commit 71c3d9a

Please sign in to comment.