From da52cf49f48173f901ef19f32125d506eec6a7e5 Mon Sep 17 00:00:00 2001 From: DavHau Date: Sun, 3 Jul 2022 12:15:15 +0200 Subject: [PATCH] python: install with --no-build-isolation --- src/subsystems/python/builders/simple-builder/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/subsystems/python/builders/simple-builder/default.nix b/src/subsystems/python/builders/simple-builder/default.nix index 096893ac..14402e84 100644 --- a/src/subsystems/python/builders/simple-builder/default.nix +++ b/src/subsystems/python/builders/simple-builder/default.nix @@ -43,9 +43,7 @@ format = "setuptools"; buildInputs = pkgs.pythonManylinuxPackages.manylinux1; nativeBuildInputs = [pkgs.autoPatchelfHook]; - propagatedBuildInputs = [ - python.pkgs.setuptools - ]; + propagatedBuildInputs = [python.pkgs.setuptools]; doCheck = false; dontStrip = true; preBuild = '' @@ -60,6 +58,7 @@ export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH" ${python}/bin/python -m pip install \ ./dist/*.{whl,tar.gz,zip} \ + --no-build-isolation \ --no-index \ --no-warn-script-location \ --prefix="$out" \