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

Can dr-cabal read from stdin? #37

Open
philderbeast opened this issue Nov 21, 2022 · 2 comments
Open

Can dr-cabal read from stdin? #37

philderbeast opened this issue Nov 21, 2022 · 2 comments
Labels
question Further information is requested

Comments

@philderbeast
Copy link

Following the instructions on the readme:

> cabal --store-dir=$(mktemp -d) build --dependencies-only all | dr-cabal profile
Missing: (-i|--input FILE_PATH)

Usage: dr-cabal profile (-i|--input FILE_PATH) [-s|--stacked]

Is --input required or can dr-cabal read from stdin?

I installed today with cabal install dr-cabal so that would be dr-cabal-0.2.0.0 wouldn't it?

> dr-cabal --version
Invalid option `--version'
@philderbeast
Copy link
Author

I built from source and now am off to the races :-)

@chshersh
Copy link
Owner

dr-cabal can read from stdin. Maybe you installed the previous version from Hackage? Try running cabal update and install again (but I see that you've already installed it from sources so all should be good 🙂 )

It's indeed unfortunate that there's no --version flag. It'll be added during the work on the following issue:

Let me know if you have any other questions or whether this issue can be closed 🙂

@chshersh chshersh added the question Further information is requested label Nov 21, 2022
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