fix: php: composer-lock strip "ext-" from phpExtensions

This commit is contained in:
Martin Toman 2022-08-23 11:28:12 -07:00
parent 97ea84dd78
commit 41cae45d06

View File

@ -138,8 +138,7 @@ in {
all = map (pkg: l.attrsets.attrNames (getRequire pkg)) packages;
flat = l.lists.flatten all;
extensions = l.filter (l.strings.hasPrefix "ext-") flat;
in
l.lists.unique extensions;
in (map (l.strings.removePrefix "ext-") (l.lists.unique extensions));
# get require (and require-dev)
getRequire = pkg: