depot/third_party/nixpkgs/pkgs/development/compilers/elm/packages
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00
..
elm-format.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
elm-instrument.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
elm-json.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
elm-json.patch Project import generated by Copybara. 2020-08-20 19:08:02 +02:00
elm-srcs.nix Project import generated by Copybara. 2020-04-24 19:36:52 -04:00
elm.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
elmi-to-json.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
generate-node-packages.sh Project import generated by Copybara. 2020-12-07 07:45:13 +00:00
indents.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
lib.nix Project import generated by Copybara. 2020-07-18 18:06:22 +02:00
node-composition.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
node-env.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
node-packages.json Project import generated by Copybara. 2020-12-07 07:45:13 +00:00
node-packages.nix Project import generated by Copybara. 2021-02-05 18:12:51 +01:00
README.md Project import generated by Copybara. 2020-04-24 19:36:52 -04: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.