1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/compilers/elm/packages
2019-08-31 10:04:20 +02:00
..
elm-format.nix elm-format: 0.8.1 -> 0.8.2 2019-08-08 23:42:08 -07:00
elm-srcs.nix
elm.nix
elmi-to-json.nix
generate-node-packages.sh elmPackages: share node-env.nix, add elm-live & elm-xref 2019-08-27 22:02:37 +02:00
indents.nix
node-composition.nix Merge staging-next into staging 2019-08-31 10:04:20 +02:00
node-packages.json elmPackages: share node-env.nix, add elm-live & elm-xref 2019-08-27 22:02:37 +02:00
node-packages.nix elmPackages: share node-env.nix, add elm-live & elm-xref 2019-08-27 22:02:37 +02: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.