···1+# Elm {#sec-elm}
2+3+To start a development environment do
4+5+```ShellSession
6+nix-shell -p elmPackages.elm elmPackages.elm-format
7+```
8+9+To update the Elm compiler, see <filename>nixpkgs/pkgs/development/compilers/elm/README.md</filename>.
10+11+To package Elm applications, [read about elm2nix](https://github.com/hercules-ci/elm2nix#elm2nix).
-17
doc/builders/packages/elm.xml
···1-<section xmlns="http://docbook.org/ns/docbook"
2- xmlns:xlink="http://www.w3.org/1999/xlink"
3- xml:id="sec-elm">
4- <title>Elm</title>
5-6- <para>
7- To start a development environment do <command>nix-shell -p elmPackages.elm elmPackages.elm-format</command>
8- </para>
9-10- <para>
11- To update Elm compiler, see <filename>nixpkgs/pkgs/development/compilers/elm/README.md</filename>.
12- </para>
13-14- <para>
15- To package Elm applications, <link xlink:href="https://github.com/hercules-ci/elm2nix#elm2nix">read about elm2nix</link>.
16- </para>
17-</section>
···00000001{ stdenv
2, python
3, runCommand
···7}:
89let
0010 environmentTests = let
11 envs = let
12 inherit python;
···8384 in lib.mapAttrs testfun envs;
85086 # All PyPy package builds are broken at the moment
87 integrationTests = lib.optionalAttrs (python.pythonAtLeast "3.7" && (!python.isPyPy)) rec {
88 # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
···1+# Tests for the Python interpreters, package sets and environments.
2+#
3+# Each Python interpreter has a `passthru.tests` which is the attribute set
4+# returned by this function. For example, for Python 3 the tests are run with
5+#
6+# $ nix-build -A python3.tests
7+#
8{ stdenv
9, python
10, runCommand
···14}:
1516let
17+ # Test whether the interpreter behaves in the different types of environments
18+ # we aim to support.
19 environmentTests = let
20 envs = let
21 inherit python;
···9293 in lib.mapAttrs testfun envs;
9495+ # Integration tests involving the package set.
96 # All PyPy package builds are broken at the moment
97 integrationTests = lib.optionalAttrs (python.pythonAtLeast "3.7" && (!python.isPyPy)) rec {
98 # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages