mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
enable '+' in versions
This commit is contained in:
parent
341cad381c
commit
5cd5f01c90
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ pythonPackages.callPackage
|
|||
fileCandidates =
|
||||
let
|
||||
supportedRegex = ("^.*(" + builtins.concatStringsSep "|" supportedExtensions + ")");
|
||||
matchesVersion = fname: builtins.match ("^.*" + builtins.replaceStrings [ "." ] [ "\\." ] version + ".*$") fname != null;
|
||||
matchesVersion = fname: builtins.match ("^.*" + builtins.replaceStrings [ "." "+" ] [ "\\." "\\+" ] version + ".*$") fname != null;
|
||||
hasSupportedExtension = fname: builtins.match supportedRegex fname != null;
|
||||
isCompatibleEgg = fname: ! lib.strings.hasSuffix ".egg" fname || lib.strings.hasSuffix "py${python.pythonVersion}.egg" fname;
|
||||
in
|
||||
|
|
Loading…
Add table
Reference in a new issue