You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When flatpak is upgraded (and the old one garbage collect) the launchers stop working due to the dead flatpak path. It's then necessary to reinstall the application to update the launchers.
Looks like FLATPAK_BINDIR is configurable at build time, but not sure where it should point (I'm guessing we can assume flatpak is only useful on NixOS which might make this solvable).
What a fun thing. I think we cannot solve this any other way than patching the generator to use /usr/bin/env. At least for the interactively installed packages, which will be the majority even if we implement the declarative installation (#30336).
Issue description
When installing flatpaks the current flatpak binary is hardcoded in the application launchers, eg.:
When flatpak is upgraded (and the old one garbage collect) the launchers stop working due to the dead flatpak path. It's then necessary to reinstall the application to update the launchers.
The code that creates the launchers:
https://github.com/flatpak/flatpak/blob/master/common/flatpak-dir.c#L5470
https://github.com/flatpak/flatpak/blob/master/common/flatpak-dir.c#L6648
Looks like
FLATPAK_BINDIR
is configurable at build time, but not sure where it should point (I'm guessing we can assume flatpak is only useful on NixOS which might make this solvable).cc @jtojnar
Steps to reproduce
Technical details
"x86_64-linux"
Linux 4.17.6, NixOS, 18.09.git.be979263ece (Jellyfish)
yes
yes
nix-env (Nix) 2.0.4
"unstable-18.03pre126246.a4f433c03cc"
"nixos-17.09.3254.967e40787c5"
/home/hed/nixpkgs/channel
The text was updated successfully, but these errors were encountered: