Skip to content

Instantly share code, notes, and snippets.

@zaphar
Created December 17, 2010 02:22
Show Gist options
  • Select an option

  • Save zaphar/744390 to your computer and use it in GitHub Desktop.

Select an option

Save zaphar/744390 to your computer and use it in GitHub Desktop.
for lib in $(cat file.cabal | grep build-depends | sed 's/^ *//' | awk '{print $2}');
do
cabal --reinstall --enable-library-profiling $lib;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment