-
Notifications
You must be signed in to change notification settings - Fork 26
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
Sync IR changes #225
Sync IR changes #225
Conversation
If the But I don't like this very much. Can't we just run something like "nix install" and then make sure the correct tools are used when calling them from SBT? |
# Conflicts: # compiler/shared/test/diff-ir/Class.mls # compiler/shared/test/diff-ir/Currying.mls # compiler/shared/test/diff-ir/LiftClass.mls # compiler/shared/test/scala/mlscript/compiler/TestIR.scala
I think Nix never changes things outside the environment, rather they have overlays where you have your settings and then offer you commands to go inside to use it. It could be quite slow to invoke |
You can treat Technically you can install things globally, but it is not idiomatic and kind of violates the nix philosophy. |
@pca006132 Could you please describe the full solution that using
|
It's probably fine if we have to use the SBT command from some sort of special command like |
CI: Local user: # enter shell
nix develop
# inside the shell...
sbt compilerJVM/test I typically use direnv. If you use it with the file |
@pca006132 Thanks! @waterlens Does this work for you? |
I think I have used it in the CI. So, what's the next step? Moving |
I just checked the CI config. I don't understand why you used |
I once thought it was only used to set up the environment for testing cpp backend. Anyway, if you accept the idea to test the whole project in a nix environment, I will change it accordingly. |
Yeah, there's no reason not to place the whole thing under nix. It would also be useful to fix the nodejs version while we're at it! |
As far as I know, nixpkgs only support LTS version NodeJS. Can we upgrade the version from 17 to 18? Otherwise, I may need to install NodeJs from the tarball. |
Clang has problems compiling some newer alignment features
Ok I managed to fix the CI and to make the tests pass on my older local macOS version by switching to g++! |
No description provided.