nixpkgs-suyu/pkgs/development/compilers/elm/packages
andys8 0a02e569a6 elmPackages.elm-{language-server,tooling,review}: Update versions
elm-language-server: 2.0.2 -> 2.0.3
elm-tooling: 1.1.0 -> 1.3.0
elm-review: 2.4.1 -> 2.4.6
2021-03-13 13:37:21 +01:00
..
avh4-lib.nix
bimap.nix
elm-format-lib.nix
elm-format-markdown.nix
elm-format-test-lib.nix
elm-format.nix
elm-instrument.nix
elm-json.nix
elm-json.patch
elm-srcs.nix
elm.nix
elmi-to-json.nix
generate-node-packages.sh
indents.nix
lib.nix
node-composition.nix
node-packages.json
node-packages.nix elmPackages.elm-{language-server,tooling,review}: Update versions 2021-03-13 13:37:21 +01:00
README.md

Elm packages

Mixtures of useful Elm lang tooling containing both Haskell and Node.js based utilities.

Upgrades

Haskell parts of the ecosystem are using cabal2nix. Please refer to nix documentation and cabal2nix readme for more information. Elm-format update scripts is part of its repository.

Node dependencies are defined in node-packages.json. Node2nix is used for generating nix expression from this file. Use generate-node-packages.sh for updates of nix expressions.

Binwrap Patch

Some node packages might use binwrap typically for installing elmi-to-json. Binwrap is not compatible with nix. To overcome issues with those packages apply patch-binwrap.nix which essentially does 2 things.

  1. It replaces binwrap scripts with noop shell scripts
  2. It uses nix for installing the binaries to expected location in node_modules

Example usage be found in elm/default.nix.