elm-format: symlink latest version to `bin/elm-format` (#24971)
* elm-format: symlink latest version to `bin/elm-format`
* elm-format: nitpick: indentation
commitb47e0227bcf33fc8900c7513b7785210dd859cee
authorNick Novitski <github@nicknovitski.com>
dateMon 17 Apr 2017, 09:41 (10 years ago)
parent15d60bc
pkgs/development/compilers/elm/packages/elm-format.nix+3
@@ -29,6 +29,9 @@ mkDerivation {
2929 tasty-hunit tasty-quickcheck text union-find wl-pprint
3030 ];
3131 jailbreak = true;
32+ postInstall = ''
33+ ln -s $out/bin/elm-format-0.18 $out/bin/elm-format
34+ '';
3235 homepage = "http://elm-lang.org";
3336 description = "A source code formatter for Elm";
3437 license = stdenv.lib.licenses.bsd3;