Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing haskell (cabal) executables in flake #1219

Open
o1lo01ol1o opened this issue May 21, 2024 · 2 comments
Open

Exposing haskell (cabal) executables in flake #1219

o1lo01ol1o opened this issue May 21, 2024 · 2 comments
Labels
question Further information is requested

Comments

@o1lo01ol1o
Copy link

I have a cabal project and I'd like to expose one of the build artifacts without the entire HLS dependency chain that comes with the devenv shell; what's the best way to do this going forward? callCabal2nix?

@o1lo01ol1o o1lo01ol1o added the question Further information is requested label May 21, 2024
@domenkozar
Copy link
Member

Can you say more about how you'd like to consume the executable?

@o1lo01ol1o
Copy link
Author

For this particular case, I'd just expose it as part of a flake so that it can be wrapped into a systemd service that executes it. callCabal2nix seems like the easiest option but I need to overrideCabal with the derivations provided by devenv and I'm not immediately certain where everything lives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants