fix(haskell): Persist Cabal store

This commit is contained in:
Madeleine Sydney
2025-03-04 03:10:59 -07:00
parent 66b5981ee2
commit 1a97b8344c
2 changed files with 23 additions and 8 deletions

View File

@@ -66,8 +66,8 @@ in lib.mkMerge [
# TODO: sydnix.syncthing module
sydnix.impermanence.directories =
let xdg-state-dir =
"${config.home.stateHome
or "${config.home.homeDirectory}/.local/state"}";
config.home.statehome
or "${config.home.homeDirectory}/.local/state";
in [
# HACK: This relies on behaviour that is not explicitly defined by the
# Syncthing Home-manager module. We have to trust that $XDG_STATE_DIR,