Skip to content

Instantly share code, notes, and snippets.

@joshburgess
Forked from chrisdone/stack-find-resolvers
Created October 7, 2019 19:13
Show Gist options
  • Save joshburgess/bc3ef301908598e9d3213dc6d27240d3 to your computer and use it in GitHub Desktop.
Save joshburgess/bc3ef301908598e9d3213dc6d27240d3 to your computer and use it in GitHub Desktop.
find ~/Work -name stack.yaml | xargs grep -o '^resolver: \([^#]*\)'
find ~/Work -name stack.yaml | xargs grep -oh '^resolver: \([^#]*\)' | sort | uniq
du -hc ~/.stack/snapshots/* | egrep 'snapshots/.*linux/[^/]*$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment