@@ -0,0 +1,29 @@
7+ local lc="$BASH_COMMAND" rc=$?
8+ test $rc -eq 0 || echo "*** error $rc: $lc"
16+ echo "# pkgs/development/haskell-modules/configuration-stackage-lts.yaml"
18+ echo "extra-packages:"
19+ curl --silent -L https://www.stackage.org/lts/cabal.config |
20+ sed -r -e '/installed,$/d' -e '/^--/d' -e 's/constraints: +/ /' -e 's/^ +(.*)$/ - \1/' -e 's/,$//'
21+} >configuration-stackage-lts.yaml
25+mv ../configuration-stackage-lts.yaml pkgs/development/haskell-modules/
26+if [ -n "$(git status --porcelain)" ]; then
27+ git commit -q -m "configuration-stackage-lts.yaml: update from https://www.stackage.org/lts/cabal.config" -- pkgs/development/haskell-modules/configuration-stackage-lts.yaml