nixpkgs-suyu/pkgs/development/compilers/elm/fetchElmDeps.nix
2019-10-21 21:32:35 +02:00

11 lines
231 B
Nix

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