pythonPackages.pipBuildHook: Add wheel dependency
And remove missing "options"
This commit is contained in:
parent
07846b02f7
commit
2b2c6e0bc4
@ -20,10 +20,10 @@ in rec {
|
|||||||
};
|
};
|
||||||
} ./flit-build-hook.sh) {};
|
} ./flit-build-hook.sh) {};
|
||||||
|
|
||||||
pipBuildHook = callPackage ({ pip }:
|
pipBuildHook = callPackage ({ pip, wheel }:
|
||||||
makeSetupHook {
|
makeSetupHook {
|
||||||
name = "pip-build-hook.sh";
|
name = "pip-build-hook.sh";
|
||||||
deps = [ pip ];
|
deps = [ pip wheel ];
|
||||||
substitutions = {
|
substitutions = {
|
||||||
inherit pythonInterpreter pythonSitePackages;
|
inherit pythonInterpreter pythonSitePackages;
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@ pipBuildPhase() {
|
|||||||
|
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
echo "Creating a wheel..."
|
echo "Creating a wheel..."
|
||||||
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist "$options" .
|
@pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist .
|
||||||
echo "Finished creating a wheel..."
|
echo "Finished creating a wheel..."
|
||||||
|
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
|
Loading…
Reference in New Issue
Block a user