From f3f5047f5ae93ff05d2fd0f7b8324ddfc8807810 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 1 Jun 2026 20:08:17 +0100 Subject: [PATCH] bats.tests: fix the eval MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the chnage the eval fails as: $ nix build --no-link -f. bats.tests error: … while evaluating the attribute 'resholve' at pkgs/by-name/ba/bats/package.nix:250:5: 249| inherit bash-preexec locate-dominating-file; 250| resholve = resholve.tests.cli; | ^ 251| } … while evaluating the attribute 'tests.cli' at pkgs/development/misc/resholve/resholve.nix:58:5: 57| ; 58| tests = callPackage ./test.nix { | ^ 59| inherit (stack trace truncated; use '--show-trace' to show the full, detailed trace) error: function 'anonymous lambda' called with unexpected argument 'python27' at pkgs/development/misc/resholve/test.nix:1:1: 1| { | ^ 2| lib, --- pkgs/development/misc/resholve/resholve.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/misc/resholve/resholve.nix b/pkgs/development/misc/resholve/resholve.nix index 67200729d4ef..ffb6c2cf6ac9 100644 --- a/pkgs/development/misc/resholve/resholve.nix +++ b/pkgs/development/misc/resholve/resholve.nix @@ -59,7 +59,6 @@ python27.pkgs.buildPythonApplication { inherit rSrc binlore - python27 resholve ; };