nixpkgs/pkgs/development/beam-modules
Paul Tsupikoff 0d9575ced8
buildMix: fix bootstrapping packages with hyphens in version
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.
2019-04-18 22:37:30 +03:00
..
hex hex: correct version handling 2018-11-06 00:17:03 +01:00
pc
pgsql
webdriver
build-erlang-mk.nix
build-hex.nix
build-mix.nix
build-rebar3.nix
default.nix rebar3: 3.6.1 -> 3.9.0 2019-02-06 19:45:40 +01:00
fetch-hex.nix
fetch-rebar-deps.nix rebar3: 3.6.1 -> 3.9.0 2019-02-06 19:45:40 +01:00
hex-packages.nix
hex-registry-snapshot.nix treewide: use unstable-date instead of hash as version 2018-11-06 00:17:02 +01:00
lib.nix
mix-bootstrap buildMix: fix bootstrapping packages with hyphens in version 2019-04-18 22:37:30 +03:00
rebar3-release.nix rebar3: 3.6.1 -> 3.9.0 2019-02-06 19:45:40 +01:00