2019-01-03 16:31:00 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#!nix-shell -p cabal2nix elm2nix -i bash ../../..
|
|
|
|
|
2019-10-21 15:31:02 +01:00
|
|
|
cabal2nix https://github.com/elm/compiler --revision c9aefb6230f5e0bda03205ab0499f6e4af924495 > packages/elm.nix
|
|
|
|
echo "need to manually copy registry.dat from an existing elm project"
|
|
|
|
#elm2nix snapshot > registry.dat
|
|
|
|
pushd "$(nix-build -A elmPackages.elm.src --no-out-link ../../../..)/reactor"
|
2019-01-03 16:31:00 +00:00
|
|
|
elm2nix convert > $OLDPWD/packages/elm-srcs.nix
|
|
|
|
popd
|