just add a condition for a prefix

4 jobs for 296-api-hal-remove-useless-first-2-characters-before-authors-and-sources in 37 minutes and 35 seconds (queued for 58 minutes and 30 seconds)
latest
Status Job ID Name Coverage
  Stack
passed #10920
stack

00:04:39

 
  Cabal
failed #10921
cabal

00:32:55

 
  Bench
skipped #10922
bench
 
  Test
skipped #10923
test
 
Name Stage Failure
failed
cabal Cabal
   |
46 | , _hd_source = Just $ foldl (\x y -> if x == "" then y else x <> ", " <> y) "" (ISTEX._source_title s)
| ^
Error: cabal: Failed to build gargantext-0.0.6.9.9.9.4.5 (which is required by
exe:gargantext-upgrade from gargantext-0.0.6.9.9.9.4.5, exe:gargantext-server
from gargantext-0.0.6.9.9.9.4.5 and others).

Cleaning up file based variables
ERROR: Job failed: exit code 1