summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-09-23 01:53:10 +0200
committerGitHub <noreply@github.com>2023-09-23 01:53:10 +0200
commitc1bb79af498e4c548a551748053edb522ff4467a (patch)
tree77d557b30f3f23bfbbc0f3c6c7e25bfc0106e105
parente05e3f458d7de88c02df1c5e13b4d1df01364ec5 (diff)
parentc684ce9f6efc06f0f8eeff89390eecd04675d17e (diff)
downloadnixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar.gz
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar.bz2
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar.lz
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar.xz
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.tar.zst
nixpkgs-c1bb79af498e4c548a551748053edb522ff4467a.zip
Merge pull request #256733 from yu-re-ka/chromium-cross
chromium: fix cross
-rw-r--r--pkgs/applications/networking/browsers/chromium/common.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 3825849aac3..cae5bdd73e1 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -12,7 +12,6 @@
 , python3, perl
 , which
 , llvmPackages_attrName
-, rustc
 , libuuid
 , overrideCC
 # postPatch:
@@ -388,7 +387,7 @@ let
       # Use nixpkgs Rust compiler instead of the one shipped by Chromium.
       # We do intentionally not set rustc_version as nixpkgs will never do incremental
       # rebuilds, thus leaving this empty is fine.
-      rust_sysroot_absolute = "${rustc}";
+      rust_sysroot_absolute = "${buildPackages.rustc}";
       # Building with rust is disabled for now - this matches the flags in other major distributions.
       enable_rust = false;
     } // lib.optionalAttrs (!(stdenv.buildPlatform.canExecute stdenv.hostPlatform)) {