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

Meson fixes for msys2 builds #11809

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

puffnfresh
Copy link
Member

Motivation

Building Nix using mingw64, using Meson.

Context

I've been using the Makefile to build using mingw64. With these changes (and #11808) I can now use Meson.

One core difference is that symlinks are very important to both the Meson infrastructure (due to build-utils-meson) and the Meson builds (e.g. things pointing to nix.exe) - so you have to change the Windows settings in order to build. This was not needed using Make.

@github-actions github-actions bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority labels Nov 5, 2024
@Ericson2314
Copy link
Member

Thanks! I think long term we'll want everything to work with fewer symlinks (for the build) and native symlinks (for tests), but this is good for now.

@Ericson2314 Ericson2314 merged commit dfd0033 into NixOS:master Nov 5, 2024
11 checks passed
@Ericson2314 Ericson2314 deleted the windows-build/meson-fixes branch November 5, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants