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

12 lines
231 B
Nix
Raw Normal View History

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