pythonPackages.pipBuildHook: Add wheel dependency

And remove missing "options"
This commit is contained in:
adisbladis 2019-09-26 16:14:32 +01:00
parent 07846b02f7
commit 2b2c6e0bc4
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7
2 changed files with 3 additions and 3 deletions

View file

@ -20,10 +20,10 @@ in rec {
};
} ./flit-build-hook.sh) {};
pipBuildHook = callPackage ({ pip }:
pipBuildHook = callPackage ({ pip, wheel }:
makeSetupHook {
name = "pip-build-hook.sh";
deps = [ pip ];
deps = [ pip wheel ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};

View file

@ -7,7 +7,7 @@ pipBuildPhase() {
mkdir -p dist
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..."
runHook postBuild