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

don't run purenix for corefn.json files that are older than the output default.nix file #25

Open
cdepillabout opened this issue Oct 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@cdepillabout
Copy link
Member

cdepillabout commented Oct 9, 2021

Right now, when you run purenix, it looks for all the output/*/corefn.json files, and transpiles each of them to output/*/default.nix.

It may be possible to instead check if an output/*/default.nix file is newer than output/*/corefn.json, and not regenerate the output/*/default.nix in that case.

We should confirm that purs has similar functionality, and doesn't touch the corefn.json file when it is already newer than the input src/*.purs input file.

There was a little discussion about this in #22 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant