-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
esbuild: finding a solution that works for all versions #112
Comments
Yes I think something like that might be a good idea. I mean, the cleaner solution would probably be to build these binaries from source if the source is vendored. |
Here is what I think we should do.
then we have one override for each "major" version. The api supposedly is compatible. So we should have only 3-4 versions that we need to write by hand that would be valid for everything. If that sounds good to you, happy to give it a go in a PR. |
Wonderful, I think this is a good approach. |
how do I get access from the satisfiesSemver function from outside of dream2nix. I wanted to test on a flake directly before submitting a merge request. |
|
nix repl complains for me that there is no default.nix probably my nix is too old. |
It's probably not the end for this one |
I've got a PR ready |
also, last question, in the flake overrides, how will I access the was also thinking it would be good to include in the example flakes comment a more involved override just to give a good sense of how to do it. |
No need to re-import nixpkgs if you don't use overlays (see: https://zimbatm.com/notes/1000-instances-of-nixpkgs). You can access it via: Yes, I think it would be an amazing idea to add an example flake to the readme that uses all possible features and is commented. |
I was having some problem with a package failing on esbuild (missing the binary of course)
I was thinking we should potentially have a json file with all the versions and hashes for a couple of packages.
We could potentially make a script to populate that
binary.lock
file. (we could call it anything you want).The text was updated successfully, but these errors were encountered: