3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/elm/packages
Marek Fajkus b812a723f5
elmPackages: minor cleanups
* Make sure generate script uses node2nix version from the nixpkgs
* regenerate code generated by node2nix
2020-03-18 20:36:36 +01:00
..
elm-format.nix elm-format: 0.8.2 -> 0.8.3 2020-02-29 14:34:11 -08:00
elm-instrument.nix elmPackages.elm-instrument: Init at 0.0.7 2020-03-16 20:10:34 +01:00
elm-srcs.nix
elm.nix
elmi-to-json.nix elmPackages.elmi-to-json: 1.2.0 -> 1.3.0 2020-03-17 14:03:25 +01:00
generate-node-packages.sh elmPackages: minor cleanups 2020-03-18 20:36:36 +01:00
indents.nix
node-composition.nix elmPackages: minor cleanups 2020-03-18 20:36:36 +01:00
node-packages.json elmPackages.elm-coverage: init at 0.0.3 2020-03-17 13:56:14 +01:00
node-packages.nix elmPackages: minor cleanups 2020-03-18 20:36:36 +01:00
patch-binwrap.nix elmPackages: minor cleanups 2020-03-18 20:36:36 +01:00
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.