3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/elm/packages
andys8 d14669c94c elmPackages.*: update to latest versions
Intention is to update elm-language-server to 1.4.6
2020-01-03 11:11:04 +01:00
..
elm-format.nix
elm-srcs.nix Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
elm.nix Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
elmi-to-json.nix Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
generate-node-packages.sh
indents.nix
node-composition.nix
node-packages.json elmPackages.{elm-test,elm-analyse}: elm 0.19.1 updates 2019-10-22 19:16:46 +02:00
node-packages.nix elmPackages.*: update to latest versions 2020-01-03 11:11:04 +01:00
patch-binwrap.nix
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.