Skip to content

tests.stdenv: Easier to override stdenv#336837

Open
Artturin wants to merge 1 commit intoNixOS:masterfrom
Artturin:teststdenvhookesieroverriding
Open

tests.stdenv: Easier to override stdenv#336837
Artturin wants to merge 1 commit intoNixOS:masterfrom
Artturin:teststdenvhookesieroverriding

Conversation

@Artturin
Copy link
Member

also getting rid of pkgsStructuredAttrs because tests for the whole
structuredAttrs dependency tree don't belong here and should be split
in to a different test.

also getting rid of `pkgsStructuredAttrs` because tests for the whole
`structuredAttrs` dependency tree don't belong here and should be split
in to a different test.
@Artturin Artturin changed the base branch from master to staging-next August 23, 2024 19:28
@Artturin
Copy link
Member Author

Rebased to staging-next because there were incoming conflicts

@Artturin Artturin force-pushed the teststdenvhookesieroverriding branch from 327aa01 to 76d0f11 Compare August 23, 2024 19:28
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 23, 2024
@SomeoneSerge SomeoneSerge self-requested a review August 23, 2024 20:14
@vcunat vcunat changed the base branch from staging-next to master August 31, 2024 09:51
@Artturin
Copy link
Member Author

@ofborg build tests.stdenv

bootStdenv = stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv;
pkgsStructured = import pkgs.path { config = { structuredAttrsByDefault = true; }; inherit (stdenv.hostPlatform) system; };
bootStdenvStructuredAttrsByDefault = pkgsStructured.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv;
bootStdenv = if stdenvHasBootPackages then stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv.__bootPackages.stdenv else 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.

Seaprate pr should make it so we use longestValidPathPrefix and attrByPath here to support darwin

@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 2, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants