nixpkgs/pkgs/development/compilers/elm/fetchElmDeps.nix
2018-11-21 10:57:11 +00:00

12 lines
217 B
Nix

{stdenv, lib, fetchurl}:
{elmPackages, versionsDat}:
let
makeDotElm = import ./makeDotElm.nix {inherit stdenv lib fetchurl versionsDat;};
in
''
export ELM_HOME=`pwd`/.elm
'' + (makeDotElm "0.19.0" elmPackages)