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.

(cherry picked from commit 524aa1c87c4cb024747930cda3a3e68c68dc362c)
This commit is contained in:
sternenseemann 2021-07-05 14:58:52 +02:00 committed by Michael Weiss
parent 40325d6d4a
commit 3e6648699f
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
1 changed files with 3 additions and 1 deletions

View File

@ -149,9 +149,11 @@ in stdenv.mkDerivation {
+ "chromium${suffix}-${version}";
inherit version;
buildInputs = [
nativeBuildInputs = [
makeWrapper ed
];
buildInputs = [
# needed for GSETTINGS_SCHEMAS_PATH
gsettings-desktop-schemas glib gtk3