firefoxpwa: fix build failure with wrapper

(cherry picked from commit 227de9e910)
This commit is contained in:
Hythera
2026-05-29 23:32:03 +02:00
committed by github-actions[bot]
parent 7eaeb796e3
commit 7ebaa9d54e

View File

@@ -83,6 +83,11 @@ rustPlatform.buildRustPackage rec {
wrapProgram $out/bin/firefoxpwa-connector \
--prefix FFPWA_SYSDATA : "$out/share/firefoxpwa"
# Create empty `lib/firefoxpwa` directory so the Firefox wrapper won't fail
# trying to disable the update checks. It will try to write to
# `$out/lib/firefoxpwa/is-packaged-app`, which doesn't exist by default.
mkdir $out/lib/firefoxpwa
'';
passthru = {