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

packaging: Set darwinMinVersion to fix x86_64-darwin build #11080

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

roberth
Copy link
Member

@roberth roberth commented Jul 11, 2024

Motivation

Broken build is no good.

Context

TODO: Add x86_64-darwin CI. GitHub switched us to aarch64 some time earlier.

Priorities and Process

Add 👍 to pull requests you find important.

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

@roberth roberth requested a review from edolstra as a code owner July 11, 2024 13:06
@roberth roberth added macos Nix on macOS, aka OS X, aka darwin build-problem Nix fails to compile or test; also improvements to build process labels Jul 11, 2024
@@ -11,11 +11,28 @@
versionSuffix,
}:

let
prevStdenv = stdenv;
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
prevStdenv = stdenv;
# Prepare to shadow stdenv in the next scope
prevStdenv = stdenv;

Copy link
Member Author

@roberth roberth Jul 11, 2024

Choose a reason for hiding this comment

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

Or do we want to use args.stdenv and then shadow stdenv immediately? That might tempt us to use args.stdenv somewhere by accident, probably by forwarding args somewhere.

Copy link
Member

Choose a reason for hiding this comment

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

I got my sshing to Darwin working again, and now I need this for it to work, so let's decide soon! :)

Copy link
Contributor

@tomberek tomberek left a comment

Choose a reason for hiding this comment

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

It's understandavle as is, cannrefacotr later.

@tomberek tomberek merged commit b1effc9 into master Jul 13, 2024
24 checks passed
@tomberek tomberek deleted the fix-build-x86_64-darwin-minSDK branch July 13, 2024 00:50
@emilazy

This comment was marked as resolved.

@Ericson2314
Copy link
Member

It didn't fix in the dev shell for me, but I assume that's because the dev shell is using a different stdenv.

@emilazy
Copy link
Member

emilazy commented Jul 18, 2024

Eh, sorry… I forgot to pull.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-problem Nix fails to compile or test; also improvements to build process macos Nix on macOS, aka OS X, aka darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New expr-c EvalState construction is causing build problems for 24.05.
5 participants