[Backport release-26.05] firefoxpwa: fix build failure with wrapper (#528473)

This commit is contained in:
Weijia Wang 2026-06-07 09:21:16 +00:00 committed by GitHub
commit c6d93db5c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 = {