diff --git a/flake.nix b/flake.nix index 4275c71..608f8ab 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,10 @@ # Build using pyproject.toml format = "pyproject"; + # Clear any stale wheels carried in from the source tree so + # pypaInstallPhase doesn't collide on bin/pkgmgr. + preBuild = "rm -rf dist"; + # Build backend requirements from [build-system] nativeBuildInputs = [ pyPkgs.setuptools