Skip to content

Include comment in generated files saying how they were generated #219

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

Open
jml opened this issue Mar 3, 2016 · 0 comments
Open

Include comment in generated files saying how they were generated #219

jml opened this issue Mar 3, 2016 · 0 comments

Comments

@jml
Copy link

jml commented Mar 3, 2016

It'd be great if files generated by cabal2nix included a comment at the top saying exactly how you could regenerate this file in an unambiguous way.

e.g.

# This file automatically generated with cabal2nix vX.Y.Z::
#     cabal2nix something.cabal

This would make resolving diffs much easier.

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

No branches or pull requests

2 participants