Skip to content

Commit

Permalink
enteauth: fix ~/.cache being deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
gepbird committed Dec 29, 2024
1 parent a8e9e59 commit ddaec60
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion modules/ente-auth.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ self:
...
}:

let
# TODO: remove when fixed: https://github.com/ente-io/ente/issues/4536
ente-auth = pkgs.ente-auth.overrideAttrs (o: {
prePatch = ''
substituteInPlace lib/utils/directory_utils.dart \
--replace-fail "return cacheHome" "return Directory(p.join(cacheHome.path, 'enteauthinit'));"
'';
});
in
{
hm-gep.home.packages = [ pkgs.ente-auth ];
hm-gep.home.packages = [ ente-auth ];

services.gnome.gnome-keyring.enable = true;
}

0 comments on commit ddaec60

Please sign in to comment.