nixpkgs/pkgs/development/compilers/elm/packages
Jinnah Ali-Clarke d29cd82bfb elmPackages.elm-pages: init at 2.1.11
`node-packages.nix` was regenerated after having run `generate-node-packages.sh`
in order to pick up dependencies for `elm-pages`.  In addition, we add `elm`,
`elm-review`, and `elm-optimize-level-2` to the `PATH` for `elm-pages` since those
are needed at runtime.

A patch is also included to fix an issue where files are copied from the `nix-store`
as read-only (credit to @bcardiff for that fix).  An upstream issue
https://github.com/dillonkearns/elm-pages/issues/305 has been opened to track this.
2022-05-30 09:56:44 -04:00
..
avh4-lib.nix
bimap.nix
elm-format-lib.nix
elm-format-markdown.nix
elm-format-test-lib.nix
elm-format.nix
elm-instrument.nix
elm-json.nix
elm-json.patch
elm-pages-fix-read-only.patch elmPackages.elm-pages: init at 2.1.11 2022-05-30 09:56:44 -04:00
elm-srcs.nix
elm-test-rs.nix
elm.nix
elmi-to-json.nix
generate-node-packages.sh
indents.nix
lib.nix
node-composition.nix elmPackages.elm-pages: init at 2.1.11 2022-05-30 09:56:44 -04:00
node-packages.json elmPackages.elm-pages: init at 2.1.11 2022-05-30 09:56:44 -04:00
node-packages.nix elmPackages.elm-pages: init at 2.1.11 2022-05-30 09:56:44 -04: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.