mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Merge pull request #393 from jashandeep-sohi/fix-platform-comp
fix: add support for wheels files w/ multiple platforms seperated by a period
This commit is contained in:
commit
1d9c857d07
1 changed files with 5 additions and 4 deletions
|
@ -76,10 +76,11 @@ let
|
||||||
if targetMachine != null
|
if targetMachine != null
|
||||||
then
|
then
|
||||||
(
|
(
|
||||||
x: x.platform == "manylinux1_${targetMachine}"
|
x: x.platform == "any" || lib.lists.any (e: hasInfix e x.platform) [
|
||||||
|| x.platform == "manylinux2010_${targetMachine}"
|
"manylinux1_${targetMachine}"
|
||||||
|| x.platform == "manylinux2014_${targetMachine}"
|
"manylinux2010_${targetMachine}"
|
||||||
|| x.platform == "any"
|
"manylinux2014_${targetMachine}"
|
||||||
|
]
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
(x: x.platform == "any")
|
(x: x.platform == "any")
|
||||||
|
|
Loading…
Add table
Reference in a new issue