3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/elm/fetchElmDeps.nix

12 lines
231 B
Nix
Raw Normal View History

{stdenv, lib, fetchurl}:
2019-10-21 15:31:02 +01:00
{elmPackages, registryDat, elmVersion}:
let
2019-10-21 15:31:02 +01:00
makeDotElm = import ./makeDotElm.nix {inherit stdenv lib fetchurl registryDat;};
in
''
export ELM_HOME=`pwd`/.elm
2019-10-21 15:31:02 +01:00
'' + (makeDotElm elmVersion elmPackages)