-
Notifications
You must be signed in to change notification settings - Fork 211
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
dhall-json: provide flag -o, --output for writing to file #1303
Comments
A |
It is possible, but my preference is to add an However, just in case you're interested in how we'd update the container built by CI, the relevant code is here: Lines 596 to 600 in 37f819c
... and this section of the Nixpkgs manual explains some common things you can do with the https://nixos.org/nixpkgs/manual/#ssec-pkgs-dockerTools-buildImage |
The |
@sjakobi: We might not necessarily want to replace I think in the short term we can just add the |
Sounds good. I'll make a patch. |
Closing this as #1304 addressed the original feature request. If there's a need for an |
Not having flag
-o
or--output
can cause problems, especially for a project that use docker-compose as their development workflow. For example:Given this docker-compose.yml
If I run this
it works but when there is an error, that error will be redirected to
Dhall.tmLanguage.json
and not printed in stderr.There is a mode to disable pseudo-tty allocation, but it doesn't solve the problem. For example:
the error is shown in the terminal but when it's succeeded, the results are not written into
Dhall.tmLanguage.json
.Also, since the official docker image
dhallhaskell/dhall-json
is a minimal image (don't provide shell), this docker-compose file will not works:References
https://docs.docker.com/compose/reference/run/
The text was updated successfully, but these errors were encountered: