mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-19 20:41:54 +03:00
fix: php: semver anything satisfies "*" "@dev"
This commit is contained in:
parent
55d2536e4c
commit
4432a09e15
@ -43,7 +43,8 @@
|
||||
cleanConstraint = removeV (wildcard (tilde (removeSuffix constraint)));
|
||||
cleanVersion = removeX (l.removePrefix "v" (removeSuffix version));
|
||||
in
|
||||
(version == constraint)
|
||||
(l.any (x: constraint == x) ["*" "@dev" "@master" "@dev-master"])
|
||||
|| (version == constraint)
|
||||
|| (
|
||||
utils.satisfiesSemver
|
||||
cleanVersion
|
||||
|
Loading…
Reference in New Issue
Block a user