Skip to content

Revert "lib.types.attrsWith: remove failing test"#382856

Merged
hsjobeki merged 1 commit intoNixOS:masterfrom
infinisil:wrapped-deprecated-tests
Feb 19, 2025
Merged

Revert "lib.types.attrsWith: remove failing test"#382856
hsjobeki merged 1 commit intoNixOS:masterfrom
infinisil:wrapped-deprecated-tests

Conversation

@infinisil
Copy link
Member

This reverts commit ce8f304.

The problem was simply a typo (nestedTypes.elemType -> type.nestedTypes.elemType) ! And CI didn't run for lib in the orginal PR which is why it didn't get caught.

This leads the way for PRs like #382848 and #375084 to also introduce similar tests.

Things done

  • Ran nix-build lib/tests/release.nix

Add a 👍 reaction to pull requests you find important.

This reverts commit ce8f304.

The problem was simply a typo (nestedTypes.elemType ->
type.nestedTypes.elemType) ! And CI didn't run for lib in the orginal
PR which is why it didn't get caught.
@infinisil infinisil requested a review from hsjobeki February 17, 2025 15:21
@github-actions github-actions bot added 6.topic: module system About "NixOS" module system internals 6.topic: lib The Nixpkgs function library labels Feb 17, 2025
@nix-owners nix-owners bot requested a review from roberth February 17, 2025 15:22
@github-actions github-actions bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 17, 2025
@hsjobeki
Copy link
Contributor

Looking good. I'll add some more tests in a seperate PR for other types as well.

@hsjobeki hsjobeki merged commit 7bbacbb into NixOS:master Feb 19, 2025
29 checks passed
@infinisil infinisil deleted the wrapped-deprecated-tests branch February 19, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: lib The Nixpkgs function library 6.topic: module system About "NixOS" module system internals 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants