[prelude] update hashes, fix main.hs

parent edd127cf
...@@ -94,7 +94,7 @@ main = do ...@@ -94,7 +94,7 @@ main = do
-- r <- mapConcurrentlyChunked (filterTermsAndCooc patterns) (DM.toList corpus) -- r <- mapConcurrentlyChunked (filterTermsAndCooc patterns) (DM.toList corpus)
r <- mapConcurrently (filterTermsAndCooc patterns) (DM.toList corpus) r <- mapConcurrently (filterTermsAndCooc patterns) (DM.toList corpus)
writeFile outputFile $ DTL.toStrict $ decodeUtf8 $ encode (CoocByYears r) writeFile outputFile $ DTL.toStrict $ TLE.decodeUtf8 $ encode (CoocByYears r)
Left e -> panicTrace $ "Error: " <> e Left e -> panicTrace $ "Error: " <> e
......
...@@ -12,7 +12,7 @@ INDEX_STATE="2023-12-04T09:05:40Z" ...@@ -12,7 +12,7 @@ INDEX_STATE="2023-12-04T09:05:40Z"
# `expected_cabal_project_freeze_hash` with the # `expected_cabal_project_freeze_hash` with the
# `sha256sum` result calculated on the `cabal.project` and `cabal.project.freeze`. # `sha256sum` result calculated on the `cabal.project` and `cabal.project.freeze`.
# This ensures the files stay deterministic so that CI cache can kick in. # This ensures the files stay deterministic so that CI cache can kick in.
expected_cabal_project_hash="fff9a998b8159237bed4e83ba2bc9927c300d73dcb568cbf5c611f1538ee12d9" expected_cabal_project_hash="0613aabf6f4b9ab9973b4dee63d6ac525e86152ddcd1d19acac0eec0109fc57e"
expected_cabal_project_freeze_hash="796f0109611f3381278b1885ae1fa257c4177b99885eb04701938f1107c06ee5" expected_cabal_project_freeze_hash="796f0109611f3381278b1885ae1fa257c4177b99885eb04701938f1107c06ee5"
cabal --store-dir=$STORE_DIR v2-update "hackage.haskell.org,${INDEX_STATE}" cabal --store-dir=$STORE_DIR v2-update "hackage.haskell.org,${INDEX_STATE}"
......
...@@ -124,7 +124,7 @@ source-repository-package ...@@ -124,7 +124,7 @@ source-repository-package
source-repository-package source-repository-package
type: git type: git
location: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude location: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude
tag: fec7427ba8d1047fd68207afb79139f9dea339e0 tag: 5a8dc3a0a1a4774ec2eb9df5f0f0b0a7dd172f09
source-repository-package source-repository-package
type: git type: git
......
...@@ -22,7 +22,7 @@ allow-newer: true ...@@ -22,7 +22,7 @@ allow-newer: true
extra-deps: extra-deps:
- git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude - git: https://gitlab.iscpif.fr/gargantext/haskell-gargantext-prelude
commit: fec7427ba8d1047fd68207afb79139f9dea339e0 commit: 5a8dc3a0a1a4774ec2eb9df5f0f0b0a7dd172f09
- git: https://gitlab.iscpif.fr/gargantext/iso639.git - git: https://gitlab.iscpif.fr/gargantext/iso639.git
commit: eab929d106833ded8011a0d6705135e3fc506a9c commit: eab929d106833ded8011a0d6705135e3fc506a9c
- git: https://gitlab.iscpif.fr/gargantext/gargantext-graph.git - git: https://gitlab.iscpif.fr/gargantext/gargantext-graph.git
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment