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

12 lines
231 B
Nix
Raw Normal View History

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