-
-
Notifications
You must be signed in to change notification settings - Fork 14k
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
Build failure: pkgsCross.mingwW64.pkgsStatic.stdenv #281596
Comments
|
nixpkgs/pkgs/top-level/stage.nix Lines 265 to 278 in 2fba629
The Windows case doesn't seem to be covered here, since for MinGW-w64, nixpkgs/lib/systems/examples.nix Lines 311 to 316 in cefcf19
So I guess |
Bump, this issue is quite unfortunate when attempting to build static apps through nix. |
This makes combinations work, where pkgsStatic is used on another package set, for example: - Keeps pkgsCross.mingwW64.pkgsStatic.stdenv.hostPlatform.config at "x86_64-w64-mingw32" - Keeps pkgsLLVM.pkgsStatic.stdenv.hostPlatform.useLLVM at "true" Makes pkgsCross.mingwW64.pkgsStatic.stdenv build. Not sure whether it actually builds static executables already, though. Resolves NixOS#281596
I was able to build a static windows (mingwW64) executable with 34cefd7. edit: It seems #303849 is not merged yet. So I'm just leaving this information here. |
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: