mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
0d9575ced8
I'm using `buildMix` to build a package, which has a dependency with a hyphen in its version: `dialyxir-1.0.0-rc6`. Due to `mix-bootstrap` using `string:tokens` the dependency ends up in `_build/prod/lib/dyalyxir1.0.0rc6` instead of `_build/prod/lib/dialyxir`. Here I'm fixing it to use `string:split`, which splits by first hyphen only, and returns an array with no more than two elements. |
||
---|---|---|
.. | ||
hex | ||
pc | ||
pgsql | ||
webdriver | ||
build-erlang-mk.nix | ||
build-hex.nix | ||
build-mix.nix | ||
build-rebar3.nix | ||
default.nix | ||
fetch-hex.nix | ||
fetch-rebar-deps.nix | ||
hex-packages.nix | ||
hex-registry-snapshot.nix | ||
lib.nix | ||
mix-bootstrap | ||
rebar3-release.nix |