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

fix expressions #161

Open
justinwoo opened this issue Aug 26, 2021 · 3 comments
Open

fix expressions #161

justinwoo opened this issue Aug 26, 2021 · 3 comments

Comments

@justinwoo
Copy link
Owner

inputs // {

somewhere in this body causes all of the derivations to be built it seems, which isn't that slow because we do not allow derivations that try to build from source (this was explained a long time ago by me and can be read in the README)

however, i still do not like wasting disk space and time to build derivations for shit i never want to use

these should be fixed at some point to facilitate nix being able to lazily evaluate instead of having to build all of the derivations.

@toastal
Copy link
Contributor

toastal commented Aug 26, 2021

Does purs-tidy count as being built from source using spago2nix? Because of the bundling, it seems the slowest to me. It's released to NPM as well. The other NPM packages in this repository had NPM dependencies, but purs-tidy did not.

A large hammer solution could be a Cachix cache with permissions for CI to push to it that users can cachix use easy-purescript. But adding several caches to your system is also kinda slow to ping/check.

@justinwoo
Copy link
Owner Author

it would be better to use actual npm published artifacts for purs-tidy if possible

and i do not want to use cachix in this project. anything requiring a build cache is against what i want out of this project

@toastal
Copy link
Contributor

toastal commented Aug 26, 2021

Understandable. #163 covers purs-tidy. The rest of the stuff... well I'd like to know more about the laziness and could learn a lot from a diff.

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

No branches or pull requests

2 participants