firefoxpwa: fix build failure with wrapper

This commit is contained in:
Hythera
2026-05-29 23:32:03 +02:00
committed by Weijia Wang
parent 3f3086a995
commit 227de9e910

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