Conversation
|
Yeah fine with me just keeping this draft for now. |
|
CLANG64 fails with: Details |
See the build failure in msys2/MINGW-packages#22499
See the build failure in msys2/MINGW-packages#22499
Co-authored-by: Maksim Bondarenkov <119937608+ognevny@users.noreply.github.com>
See the build failure in msys2/MINGW-packages#22499 (cherry picked from commit 355f08a) # Conflicts: # src/libutil/windows/environment-variables.cc
|
NixOS/nix#11856 OK this would fix the one build failure. |
|
We should be able to bump this to the latest release and then it will pass for all platforms. |
you may create a branch in your fork if needed |
|
I have access to the org repo this is coming from, so I will just try to rebase it. |
|
I need to get my VM working, so this is an untested push, but CI will let me know. |
|
Hmm, looks like boost regex isn't yet part of the boost package? |
|
I know the issue, libboost needs to be pkg-config based and we could look into shipping pkg-config-lite to windows. |
d87cfb4 to
537f8be
Compare
8bb62ff to
4e0e87b
Compare
|
@Eveeifyeve please add the CFLAG |
|
Hmm maybe it really is this, contra the standard, and we should patch nix. |
|
NixOS/nix#14817 this will fix the build, once it is backported to 2.33. |
4e0e87b to
e2d3083
Compare
62a2d19 to
5bca905
Compare
|
@ognevny Could you please rerun the CLANGARM64 github action? There seems to be some werid edgecase. |
|
sometimes we have such network issues |
|
It builds, but doesn't function. |
and it wasn't tested before..? |
Yes it was working in the previous version, but something now we messed up with loading dlls. |
|
Overall it's really nice to see this finally all green in CI, but yes Nix is pretty busted when compiling with mingw right now in terms of actual behavior. We are also pursuing building Nix with Cygwin and with the MSVC ABI in parallel. The Cygwin one is going to be actually usable first, and we could look at packaging that in MSYS-PACKAGES likewise, though some deps might be missing in there that makes this harder. (Also now that we have native Cygwin builds happening, I'm hoping to follow the MSYS playbook and cross compile Cygwin->Mingw in Nixpkgs.) |
The biggest problem right now is that MSYS2 doesn't even work right now due to an absolute path issue. |
5bca905 to
d44ec4c
Compare
I haven't done a build in a chroot so hopefully I got all the dependencies.
The output executable is not useful at the moment. If you try to run this package, it will crash, because the Nix codebase currently has lots of problems with handling Windows paths. Even after the big task of fixing paths, we'll have to handle process management, making a useful Windows standard environment, adding tests, and lots of other things.
I think it makes sense to not merge this package, until Nix has a minimal working Windows release. What do you think @Ericson2314?
Fixes #22459.