nixpkgs/pkgs/development/compilers/elm/packages
Marek Fajkus 26b74d2938
elmPackages: fix nodejs packages
Fixes regression caused by
    4c60ee3da1 (pull: #142915)
    following patch of nodePackages using nodejs-14_x
    2c3b3e69ad (pull: #149120)

    - clenups and updates in generate-node-packages.sh
    - specify nodejs version in default.nix

    This makes elmPackages.* build with nodejs-14
    which resolves the issue with npm installation failing
2021-12-30 19:05:19 +01:00
..
avh4-lib.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
bimap.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
elm-format-lib.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
elm-format-markdown.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
elm-format-test-lib.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
elm-format.nix elm-format: simplify the nix expression 2021-02-09 11:27:30 -08:00
elm-instrument.nix elm-instrument: fix build 2021-05-13 09:36:51 -07:00
elm-json.nix elmPackages.elm-json: 0.2.7 -> 0.2.10 2021-05-06 11:21:40 +02:00
elm-json.patch elmPackages.elm-json: 0.2.7 -> 0.2.10 2021-05-06 11:21:40 +02:00
elm-srcs.nix
elm-test-rs.nix elm-test-rs: init at 2.0 2021-12-08 17:37:28 +01: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 elmPackages: fix nodejs packages 2021-12-30 19:05:19 +01:00
indents.nix elm-format: 0.8.4 -> 0.8.5 2021-02-08 20:22:39 -08:00
lib.nix elmPackages: Refactor lib and builds of packages 2020-06-23 19:44:34 +02:00
node-composition.nix treewide: pass and inherit writeShellScript in node2nix packages 2021-11-16 16:08:23 +01:00
node-packages.json elmPackages.elm-git-install: init at 0.1.3 2021-12-12 18:51:33 +01:00
node-packages.nix elmPackages: fix nodejs packages 2021-12-30 19:05:19 +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.