helium-browser: fix build
Some checks failed
checks / checks (push) Failing after 27s

This commit is contained in:
2025-09-28 14:33:17 +04:00
parent 19dc5d7b4f
commit ba2f6e9404

View File

@@ -57,7 +57,7 @@ stdenv.mkDerivation {
buildCommand = buildCommand =
let let
browserBinary = "${unwrapped}/libexec/chromium/chromium"; browserBinary = "${unwrapped}/libexec/helium/helium";
libPath = lib.makeLibraryPath [ libPath = lib.makeLibraryPath [
libva libva
pipewire pipewire
@@ -71,7 +71,7 @@ stdenv.mkDerivation {
'' ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
makeWrapper "${browserBinary}" "$out/bin/chromium" \ makeWrapper "${browserBinary}" "$out/bin/helium" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
ed -v -s "$out/bin/chromium" << EOF ed -v -s "$out/bin/chromium" << EOF
@@ -113,7 +113,7 @@ stdenv.mkDerivation {
ln -sv "${unwrapped.sandbox}" "$sandbox" ln -sv "${unwrapped.sandbox}" "$sandbox"
ln -s "$out/bin/chromium" "$out/bin/chromium-browser" ln -s "$out/bin/helium" "$out/bin/helium-browser"
mkdir -p "$out/share" mkdir -p "$out/share"
for f in '${unwrapped}'/share/*; do # hello emacs */ for f in '${unwrapped}'/share/*; do # hello emacs */