2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 22:23:15 +00:00
nixpkgs/pkgs/development/compilers/elm/fetchElmDeps.nix
2019-10-21 21:32:35 +02:00

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