Skip to content

Commit

Permalink
installer: store only appId in state file
Browse files Browse the repository at this point in the history
  • Loading branch information
gmodena committed Oct 9, 2024
1 parent e312c52 commit 0079254
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions modules/installer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,8 @@ let
packages = (map
(package:
if utils.isFlatpakref package
then package // {
appId = flatpakrefCache.${(utils.sanitizeUrl package.flatpakref)}.Name;
origin = getRemoteNameFromFlatpakref null flatpakrefCache.${(utils.sanitizeUrl package.flatpakref)};
}
else package
then flatpakrefCache.${(utils.sanitizeUrl package.flatpakref)}.Name # application id from flatpakref
else package.appId
)
cfg.packages);
overrides = cfg.overrides;
Expand Down

0 comments on commit 0079254

Please sign in to comment.