Skip to content

Comments

treewide: Fix MinGW build#14587

Merged
Ericson2314 merged 1 commit intomasterfrom
fix-mingw
Nov 18, 2025
Merged

treewide: Fix MinGW build#14587
Ericson2314 merged 1 commit intomasterfrom
fix-mingw

Conversation

@xokdvium
Copy link
Contributor

Motivation

Several bugs to squash:

  • Apparently DELETE is an already used macro with Win32. We can avoid it by using Camel case instead (slightly hacky but also fits the naming convention better)

  • Gets rid of the raw usage of isatty. Added an isTTY impl to abstract over the raw API.

Context

https://hydra.nixos.org/build/313563592


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Several bugs to squash:

- Apparently DELETE is an already used macro with Win32. We can avoid it
  by using Camel case instead (slightly hacky but also fits the naming
  convention better)

- Gets rid of the raw usage of isatty. Added an isTTY impl to abstract over
  the raw API.
@github-actions github-actions bot added new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store fetching Networking with the outside (non-Nix) world, input locking labels Nov 18, 2025
Copy link
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good fixes

@Ericson2314 Ericson2314 added this pull request to the merge queue Nov 18, 2025
Merged via the queue into master with commit 16f0279 Nov 18, 2025
20 checks passed
@Ericson2314 Ericson2314 deleted the fix-mingw branch November 18, 2025 03:04
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants