chromium: move ed and makeWrapper into nativeBuildInputs
This most notably fixes cross _evaluation_ of chromium which previously
would fail because makeWrapper relies on runtimeShell which is not
available in the HostTarget package set.
I tested that the native chromium build still works, but haven't tried
cross compiling it yet. There very well may be additional errors, but at
least they will be build errors, not hard to understand evaluation
errors.
commit524aa1c87c4cb024747930cda3a3e68c68dc362c
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>
dateMon 5 Jul 2021, 14:58 (5 years ago)
parentb86dba5
pkgs/applications/networking/browsers/chromium/default.nix+3−1
@@ -149,9 +149,11 @@ in stdenv.mkDerivation {
149149 + "chromium${suffix}-${version}";
150150 inherit version;
151151
152− buildInputs = [
152+ nativeBuildInputs = [
153153 makeWrapper ed
154+ ];
154155
156+ buildInputs = [
155157 # needed for GSETTINGS_SCHEMAS_PATH
156158 gsettings-desktop-schemas glib gtk3
157159