From 8adce9464c731d751863855c214ce5cd6617fbe7 Mon Sep 17 00:00:00 2001 From: DavHau Date: Tue, 14 Jan 2025 10:27:20 +0700 Subject: [PATCH] python3Packages.contourpy: fix cross build nuke-refs was used incorrectly --- pkgs/development/python-modules/contourpy/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/contourpy/default.nix b/pkgs/development/python-modules/contourpy/default.nix index 1758da63ed202..060c3b570f7d4 100644 --- a/pkgs/development/python-modules/contourpy/default.nix +++ b/pkgs/development/python-modules/contourpy/default.nix @@ -1,11 +1,9 @@ { lib, - buildPackages, buildPythonPackage, fetchFromGitHub, python, pythonOlder, - python3, # build meson, @@ -90,8 +88,7 @@ let # remove references to buildPackages.python3, which is not allowed for cross builds. preFixup = '' - nuke-refs -e "${buildPackages.python3}" \ - $out/${python3.sitePackages}/contourpy/util/{_build_config.py,__pycache__/_build_config.*} + nuke-refs $out/${python.sitePackages}/contourpy/util/{_build_config.py,__pycache__/_build_config.*} ''; meta = with lib; {