mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
poetry2nix: Extend setuptools-scm infinite recursion workaround
This commit is contained in:
@@ -96,6 +96,9 @@ pythonPackages.callPackage
|
||||
"setuptools_scm"
|
||||
"setuptools-scm"
|
||||
"toml" # Toml is an extra for setuptools-scm
|
||||
"packaging"
|
||||
"six"
|
||||
"pyparsing"
|
||||
];
|
||||
baseBuildInputs = lib.optional (! lib.elem name skipSetupToolsSCM) pythonPackages.setuptools-scm;
|
||||
format = if isDirectory || isGit || isUrl then "pyproject" else fileInfo.format;
|
||||
|
||||
Reference in New Issue
Block a user