diff options
author | Yureka <yuka@yuka.dev> | 2023-09-22 19:25:00 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-09-22 19:25:10 +0200 |
commit | c684ce9f6efc06f0f8eeff89390eecd04675d17e (patch) | |
tree | b6c9ad23572fb335d7423fbf0500f021c51a1cb5 | |
parent | d7fbd8f0dce50bf6c2d630e8dcff59954044b582 (diff) | |
download | nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar.gz nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar.bz2 nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar.lz nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar.xz nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.tar.zst nixpkgs-c684ce9f6efc06f0f8eeff89390eecd04675d17e.zip |
chromium: fix cross
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 3 |
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)) { |