Skip to content

packaging: Use correct stdenv for x86_64-darwin#12557

Merged
roberth merged 1 commit intoNixOS:masterfrom
roberth:packaging-x86_64-darwin-stdenv
Feb 24, 2025
Merged

packaging: Use correct stdenv for x86_64-darwin#12557
roberth merged 1 commit intoNixOS:masterfrom
roberth:packaging-x86_64-darwin-stdenv

Conversation

@roberth
Copy link
Member

@roberth roberth commented Feb 24, 2025

@roberth roberth added the build-problem Nix fails to compile or test; also improvements to build process label Feb 24, 2025
@roberth roberth requested a review from edolstra as a code owner February 24, 2025 15:45
Comment on lines +14 to +22
inherit
(scope.callPackage (
{ stdenv }:
{
inherit stdenv;
}
) { })
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.

Not pretty. Will consider moving the build utilities to their own file, and then callPackage that.

Copy link
Member Author

Choose a reason for hiding this comment

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

Either way we aren't making much use of the two layers of scoping, and we could simplify by squashing those into one scope. I'd keep the separate file for dependencies, but wire it up with import and // - should be simple enough.

@roberth roberth enabled auto-merge February 24, 2025 16:03
@roberth roberth merged commit 1f98abe into NixOS:master Feb 24, 2025
12 checks passed
edolstra added a commit that referenced this pull request Feb 24, 2025
…2557

packaging: Use correct stdenv for x86_64-darwin (backport #12557)
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2025-02-24-nix-team-meeting-minutes-215-216/60920/1

Mic92 pushed a commit to roberth/nixpkgs that referenced this pull request Mar 11, 2025
sandptel pushed a commit to sandptel/nixpkgs that referenced this pull request Mar 13, 2025
Ericson2314 pushed a commit to NixOS/nixpkgs that referenced this pull request Mar 16, 2025
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

x86_64-darwin build broken

3 participants