mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #59854 from goodsoft/patch-1
buildMix: fix bootstrapping packages with hyphens in version
This commit is contained in:
commit
f0a49c1152
@ -40,7 +40,7 @@ main(Args) ->
|
||||
-spec fixup_app_name(file:name()) -> string().
|
||||
fixup_app_name(Path) ->
|
||||
BaseName = filename:basename(Path),
|
||||
case string:tokens(BaseName, "-") of
|
||||
case string:split(BaseName, "-") of
|
||||
[Name, _Version] -> Name;
|
||||
Name -> Name
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user