elves / elvish

Powerful scripting language & versatile interactive shell
https://elv.sh/
BSD 2-Clause "Simplified" License
5.73k stars 303 forks source link

epm not recognizing custom domain config #1833

Open ndarwincorn opened 3 months ago

ndarwincorn commented 3 months ago

What happened, and what did you expect to happen?

Similar to #745, I host my elvish theme module in sourcehut.

Just updated to v0.21 and when ripping out some module imports whose maintainers haven't updated to replace eawk, epm isn't recognizing my epm-domain.cfg:

$ epm:upgrade git.sr.ht/~ndarwincorn/elvish-theme
=> No config for domain 'git.sr.ht'.

$ echo $epm:managed-dir
$E:HOME/.local/share/elvish/lib # actual output here is my home dir, not "$E:HOME"

$ cat $E:HOME/.local/share/elvish/lib/git.sr.ht/epm-domain.cfg 
{
    "method": "git",
    "protocol": "https",
    "levels": "2"
}

I see the epm module hasn't been changed in 7 months so I'm not sure where to start digging on this. $epm:-domain-config-file~ looks right in my local shell at a cursory glance.

Output of "elvish -version"

v0.21.0

Code of Conduct