Merge branch 'master' into staging-next
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) getVersion versionAtLeast splitString head;
|
||||
inherit (stdenv.lib) getVersion versionAtLeast versions;
|
||||
|
||||
mainVersion = head (splitString "." (getVersion erlang));
|
||||
mainVersion = versions.major (getVersion erlang);
|
||||
|
||||
proper = buildHex {
|
||||
name = "proper";
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -3,9 +3,9 @@ echo "Sourcing flit-build-hook"
|
||||
|
||||
flitBuildPhase () {
|
||||
echo "Executing flitBuildPhase"
|
||||
preBuild
|
||||
runHook preBuild
|
||||
@pythonInterpreter@ -m flit build --format wheel
|
||||
postBuild
|
||||
runHook postBuild
|
||||
echo "Finished executing flitBuildPhase"
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user