mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 12:44:20 +00:00
floorp: patch .desktop PWA file command path
Floorp hardcodes /usr/bin/floorp as binary path when generating .desktop
files for PWAs. That obviously not work for Nix-installed version, so
patch it to just refer to "floorp", relying on $PATH.
See also #314115.
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
(cherry picked from commit 116ee53f87
)
This commit is contained in:
parent
011a56ef3b
commit
97b8c92290
@ -31,6 +31,13 @@
|
||||
"--with-unsigned-addon-scopes=app,system"
|
||||
];
|
||||
|
||||
extraPostPatch = ''
|
||||
# Fix .desktop files for PWAs generated by Floorp; they hardcode /usr/bin
|
||||
# https://github.com/NixOS/nixpkgs/issues/314115
|
||||
substituteInPlace floorp/browser/base/content/modules/ssb/LinuxSupport.mjs \
|
||||
--replace-fail /usr/bin/floorp floorp
|
||||
'';
|
||||
|
||||
updateScript = ./update.sh;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user