nixpkgs/pkgs/development/compilers/elm/packages
Ben Siraphob 32fc8b9134 pkgs/development: stdenv.lib -> lib in node-composition files
Future updates to these files should generate them with node2nix 1.9.0
which removes stdenv.lib from the generated Nix.
2021-01-30 14:42:17 +07:00
..
elm-format.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
elm-instrument.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
elm-json.nix Fix elm-json build on Darwin 2021-01-23 14:28:08 +01:00
elm-json.patch elmPackages.elm-json: init at 0.2.7 2020-08-15 23:33:39 +02:00
elm-srcs.nix Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
elm.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
elmi-to-json.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
generate-node-packages.sh Revert "nodePackages: regenerate with node2nix 1.9.0" 2021-01-25 11:31:27 +01:00
indents.nix treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
lib.nix elmPackages: Refactor lib and builds of packages 2020-06-23 19:44:34 +02:00
node-composition.nix pkgs/development: stdenv.lib -> lib in node-composition files 2021-01-30 14:42:17 +07:00
node-env.nix pkgs/development: stdenv.lib -> lib in node-composition files 2021-01-30 14:42:17 +07:00
node-packages.json elmPackages.elm-review: Init at 2.3.3 2020-11-29 16:23:10 +01:00
node-packages.nix Revert "nodePackages: regenerate with node2nix 1.9.0" 2021-01-25 11:31:27 +01: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.