justinwoo / spago2nix

Generate a derivation of (old) Spago dependencies, and use them to install them into the directory structure used by Spago.
MIT License
42 stars 22 forks source link

spago ls deps global-cache=skip? #39

Open jamesdbrock opened 3 years ago

jamesdbrock commented 3 years ago

https://github.com/justinwoo/spago2nix/blob/0eb751eb8967c20afa1c9b87e7a2b66f2ca25f20/src/Generate.purs#L47-L48

Should this have a --global-cache=skip argument?

justinwoo commented 3 years ago

maybe, i don't personally know if that is trying to refer to caching of git repos and whatever or dhall. dhall without caching can be horrendously slow in my experience, but you might have a point that it might cause problems with re-fetching remote expressions

ursi commented 3 years ago

I think if you run the command with -V you can see the cache directory. Then you can look there and see what it's caching.