Skip to content

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

Merged
tomberek merged 1 commit into
masterfrom
fix-build-x86_64-darwin-minSDK
Jul 13, 2024
Merged

packaging: Set darwinMinVersion to fix x86_64-darwin build#11080
tomberek merged 1 commit into
masterfrom
fix-build-x86_64-darwin-minSDK

Conversation

@roberth

@roberth roberth commented Jul 11, 2024

Copy link
Copy Markdown
Member

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
Comment thread packaging/dependencies.nix
}:

let
prevStdenv = stdenv;

Copy link
Copy Markdown
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;

@roberth roberth Jul 11, 2024

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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! :)

@tomberek tomberek left a comment

Copy link
Copy Markdown
Contributor

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
@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
Copy Markdown
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

emilazy commented Jul 18, 2024

Copy link
Copy Markdown
Member

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