mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Fix wheel builds
This commit is contained in:
parent
f0eb99280e
commit
ba41e216a6
2 changed files with 5 additions and 4 deletions
|
@ -91,7 +91,10 @@ pythonPackages.callPackage
|
|||
"setuptools-scm"
|
||||
"toml" # Toml is an extra for setuptools-scm
|
||||
];
|
||||
baseBuildInputs = lib.optional (! lib.elem name skipSetupToolsSCM) pythonPackages.setuptools-scm;
|
||||
baseBuildInputs =
|
||||
lib.optional (! lib.elem name skipSetupToolsSCM) pythonPackages.setuptools-scm
|
||||
++ lib.optional (! lib.elem name [ "pip" "setuptools" "wheel" ]) pythonPackages.wheel
|
||||
;
|
||||
format = if isLocal then "pyproject" else if isGit then "pyproject" else fileInfo.format;
|
||||
in
|
||||
buildPythonPackage {
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
let
|
||||
drv = poetry2nix.mkPoetryApplication {
|
||||
python = python37;
|
||||
pyproject = ./pyproject.toml;
|
||||
poetrylock = ./poetry.lock;
|
||||
src = lib.cleanSource ./.;
|
||||
projectDir = ./.;
|
||||
};
|
||||
in
|
||||
runCommandNoCC "egg-test"
|
||||
|
|
Loading…
Add table
Reference in a new issue