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
nix-flaptak runs a flatpak install command during each activation. However, unless the user configures onActivation or auto, the operation is idempotent: flatpak detects that the app is already installed and skips reinstallation.
That said, this introduces unnecessary network operations (e.g., looking up the ref in its remote), which are both wasteful and can break network-less activations.
We should avoid running flatpak install <appId> is appId was already present in the previous nix-flatpak activation state.
The text was updated successfully, but these errors were encountered:
gmodena
changed the title
Avoid flatpak install on applications alrady present in nix-flapatk old state
Avoid flatpak install on applications already present in nix-flapatk old state
Dec 21, 2024
Follow up from a conversation in #106.
nix-flaptak
runs aflatpak install
command during each activation. However, unless the user configuresonActivation
orauto
, the operation is idempotent: flatpak detects that the app is already installed and skips reinstallation.That said, this introduces unnecessary network operations (e.g., looking up the ref in its remote), which are both wasteful and can break network-less activations.
We should avoid running
flatpak install <appId>
isappId
was already present in the previous nix-flatpak activation state.The text was updated successfully, but these errors were encountered: