nixpkgs/pkgs/development/compilers/elm/packages
2024-03-28 13:57:08 -03:00
..
elm-json elm: refactor file structure 2024-03-28 13:28:40 -03:00
elm-test elm: refactor file structure 2024-03-28 13:28:40 -03:00
elm-test-rs elm: refactor file structure 2024-03-28 13:28:40 -03:00
ghc8_10 elmPackages: move adjusts from cabal2nix-generated files to overrides 2024-03-28 13:57:08 -03:00
ghc9_2 elmPackages: move adjusts from cabal2nix-generated files to overrides 2024-03-28 13:57:08 -03:00
ghc9_6 elm: refactor file structure 2024-03-28 13:28:40 -03:00
lamdera elm: refactor file structure 2024-03-28 13:28:40 -03:00
node elm: refactor file structure 2024-03-28 13:28:40 -03:00
elm-srcs.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.