mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
10 lines
426 B
Bash
Executable File
10 lines
426 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -p cabal2nix elm2nix -i bash ../../..
|
|
|
|
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"
|
|
elm2nix convert > $OLDPWD/packages/elm-srcs.nix
|
|
popd
|