mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-03 21:04:49 +03:00
feat: let PHP extension be updatable by this tool
Fix the computation of the position by detecting if the pkg is a PHP extension
This commit is contained in:
parent
ebeb417b46
commit
387027ee08
@ -81,7 +81,9 @@ let
|
||||
|
||||
position = if pkg ? isRubyGem then
|
||||
raw_version_position
|
||||
else
|
||||
else if pkg ? isPhpExtension then
|
||||
raw_version_position
|
||||
else
|
||||
sanitizePosition (builtins.unsafeGetAttrPos "src" pkg);
|
||||
in {{
|
||||
name = pkg.name;
|
||||
|
Loading…
Reference in New Issue
Block a user