nixpkgs/pkgs/development/compilers/elm/packages
2019-07-09 12:37:29 +02:00
..
elm-format.nix treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
elm-srcs.nix Elm: automate packaging with elm2nix 2019-01-03 16:37:09 +00:00
elm.nix treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
elmi-to-json.nix elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes 2019-06-18 21:29:10 +02:00
generate-node-packages.sh elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes 2019-06-18 21:29:10 +02:00
indents.nix
node-composition.nix elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
node-env.nix elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
node-packages.json elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
node-packages.nix elm.elmPackages: Update elm-analyse and node2nix 2019-07-09 12:37:29 +02:00
patch-binwrap.nix elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes 2019-06-18 21:29:10 +02:00
README.md elmPackages.{elm-test,elm-analyse..}: tooling additions and fixes 2019-06-18 21:29:10 +02:00

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.