Skip to content

Commit

Permalink
testers.testEqualArrayOrMap: switch to callPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorBaker committed Feb 27, 2025
1 parent 76987fa commit 5b5c499
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions pkgs/build-support/testers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@

# See https://nixos.org/manual/nixpkgs/unstable/#tester-testEqualArrayOrMap
# or doc/build-helpers/testers.chapter.md
# NOTE: Must be `import`-ed rather than `callPackage`-d to preserve the `override` attribute.
testEqualArrayOrMap = import ./testEqualArrayOrMap { inherit lib stdenvNoCC; };
testEqualArrayOrMap = callPackage ./testEqualArrayOrMap { };

# See https://nixos.org/manual/nixpkgs/unstable/#tester-testVersion
# or doc/build-helpers/testers.chapter.md
Expand Down
1 change: 0 additions & 1 deletion pkgs/build-support/testers/testEqualArrayOrMap/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# NOTE: Must be `import`-ed rather than `callPackage`-d to preserve the `override` attribute.
{
lib,
stdenvNoCC,
Expand Down

0 comments on commit 5b5c499

Please sign in to comment.