chore(hmcl): remove hack

This commit is contained in:
2026-02-12 09:05:33 +08:00
parent abeca5f52e
commit 5630df0be7

View File

@@ -14,16 +14,13 @@ in
config = lib.mkIf cfg.enable {
my.hm.home.packages = [
(pkgs.hmcl.overrideAttrs {
postFixup = ''
substituteInPlace $out/share/applications/HMCL.desktop --replace-fail 'Exec=hmcl' 'Exec=sh -c "cd ~/.local/share/hmcl; hmcl"'
'';
})
pkgs.hmcl
];
my.persist.homeDirs = [
".minecraft"
".local/share/hmcl"
".hmcl"
];
};
}