mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-12 14:14:36 +03:00
fix: php: composer-lock strip "ext-" from phpExtensions
This commit is contained in:
parent
97ea84dd78
commit
41cae45d06
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user