chromium: no need to eval makeWrapper

This commit is contained in:
Wout Mertens 2022-02-02 12:07:18 +01:00
parent 66f83c86fb
commit ee1c5b7856

View File

@ -182,8 +182,8 @@ in stdenv.mkDerivation {
in with lib; '' in with lib; ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
eval makeWrapper "${browserBinary}" "$out/bin/chromium" \ makeWrapper "${browserBinary}" "$out/bin/chromium" \
--add-flags ${escapeShellArg (escapeShellArg commandLineArgs)} \ --add-flags ${escapeShellArg commandLineArgs} \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
ed -v -s "$out/bin/chromium" << EOF ed -v -s "$out/bin/chromium" << EOF