Skip to content

Instantly share code, notes, and snippets.

@freeman42x
Last active June 9, 2020 19:06
Show Gist options
  • Save freeman42x/e7c90e90e8c23d6a046eec9202a2b701 to your computer and use it in GitHub Desktop.
Save freeman42x/e7c90e90e8c23d6a046eec9202a2b701 to your computer and use it in GitHub Desktop.
Adding sub-project causes cabal build instead of using nix provided libraries
see the comment
@freeman42x
Copy link
Author

Running rm -rf install/ gets cabal run to use the nix provided Haskell libraries and the application runs.
So it seems that cabal run is also building the sub-project and that is what causes it to not use the nix provided libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment