nixpkgs/pkgs/development/compilers/elm/fetchElmDeps.nix

12 lines
217 B
Nix
Raw Normal View History

{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)