Unverified Commit 110315e7 authored by nikstur's avatar nikstur Committed by GitHub
Browse files

Merge pull request #277517 from trofi/python-hooks-test-fix-eval

python/hooks: fix `test` attribute eval
parents 8a4b3f25 089b731d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ self: dontUse: with self;

let
  inherit (python) pythonOnBuildForHost;
  inherit (pkgs) runCommand;
  pythonInterpreter = pythonOnBuildForHost.interpreter;
  pythonSitePackages = python.sitePackages;
  pythonCheckInterpreter = python.interpreter;
@@ -67,7 +68,7 @@ in {
      # Such conflicts don't happen within the standard nixpkgs python package
      #   set, but in downstream projects that build packages depending on other
      #   versions of this hook's dependencies.
      passthru.tests = import ./pypa-build-hook-tests.nix {
      passthru.tests = import ./pypa-build-hook-test.nix {
        inherit pythonOnBuildForHost runCommand;
      };
    } ./pypa-build-hook.sh) {