mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +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>
This commit is contained in:
parent
8fc88142fe
commit
116ee53f87
@ -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