about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPedroHLC <root@pedrohlc.com>2024-03-28 13:39:28 -0300
committerPedroHLC <root@pedrohlc.com>2024-03-28 13:39:28 -0300
commit13b12a92814bf411906620ffcd1d26e5c30017cc (patch)
tree2de33f72c0d95232d089f6992d695008161f0764
parentd05f19f5c298f33707c033863d131bfbd0af7ec5 (diff)
downloadnixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar.gz
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar.bz2
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar.lz
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar.xz
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.tar.zst
nixlib-13b12a92814bf411906620ffcd1d26e5c30017cc.zip
elm: include all cabal2nix in update script
-rwxr-xr-xpkgs/development/compilers/elm/update.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/compilers/elm/update.sh b/pkgs/development/compilers/elm/update.sh
index efe31f0a7a10..d718bd0fbb08 100755
--- a/pkgs/development/compilers/elm/update.sh
+++ b/pkgs/development/compilers/elm/update.sh
@@ -1,7 +1,15 @@
 #!/usr/bin/env nix-shell
 #!nix-shell -p cabal2nix elm2nix -i bash ../../..
 
-cabal2nix https://github.com/ekmett/ansi-wl-pprint --revision d16e2f6896d76b87b72af7220c2e93ba15c53280 > packages/ghc9_6/ansi-wl-pprint/default.nix
+# Update all cabal packages.
+cabal2nix 'https://github.com/zwilias/elm-instrument' --revision '0.0.7' > packages/ghc8_10/elm-instrument/default.nix
+for subpath in 'avh4-lib' 'elm-format-lib' 'elm-format-markdown' 'elm-format-test-lib'; do
+  cabal2nix 'https://github.com/avh4/elm-format' --revision '0.8.7' \
+    --subpath $subpath > packages/ghc9_2/elm-format/${subpath}.nix
+done
+cabal2nix 'https://github.com/avh4/elm-format' --revision '0.8.7' > packages/ghc9_2/elm-format/elm-format.nix
+cabal2nix 'https://github.com/stoeffel/elmi-to-json' --revision '1.3.0' > packages/ghc8_10/elmi-to-json/default.nix
+cabal2nix 'https://github.com/ekmett/ansi-wl-pprint' --revision 'v0.6.8.1' > packages/ghc9_6/ansi-wl-pprint/default.nix
 
 # We're building binaries from commit that npm installer is using since
 # November 1st release called 0.19.1-6 in npm registry.