Make lein and m2 follow XDG base dir spec

This commit is contained in:
Peter Vacho 2025-09-22 09:37:53 +02:00
parent 19b62c6d0e
commit fcf31d2b7a
No known key found for this signature in database
GPG key ID: 00ACA0D6AF712EC9
3 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,4 @@
{:user {:local-repo #=(eval (str (System/getenv "XDG_CACHE_HOME") "/m2"))
:repositories {"local" {:url #=(eval (str "file://" (System/getenv "XDG_DATA_HOME") "/m2"))
:releases {:checksum :ignore}}}
}}