summary refs log tree commit diff
path: root/maintainers/scripts
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2021-05-16 20:20:27 +0200
committerMalte Brandy <malte.brandy@maralorn.de>2021-05-16 20:20:57 +0200
commitcb6ec35052306d0d78fe238852394c3976608918 (patch)
tree2e4eabf1a07cbb2c737b9a3b2a70e549958bcf62 /maintainers/scripts
parent0293c964de909d7549b2edfe8e0fef1f8411d003 (diff)
downloadnixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar.gz
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar.bz2
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar.lz
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar.xz
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.tar.zst
nixpkgs-cb6ec35052306d0d78fe238852394c3976608918.zip
maintainers/scripts/haskell/hydra-report.hs: Remove trailing dots
Some job names actually are not followed by a platform name and therefor don‘t have a dot after the name.
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-xmaintainers/scripts/haskell/hydra-report.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/haskell/hydra-report.hs b/maintainers/scripts/haskell/hydra-report.hs
index e8ca5b888a2..fd6430d43c9 100755
--- a/maintainers/scripts/haskell/hydra-report.hs
+++ b/maintainers/scripts/haskell/hydra-report.hs
@@ -328,7 +328,7 @@ printJob evalId name (Table mapping, maintainers) =
    printSingleRow set = "- [ ] " <> printState set <> " " <> makeJobSearchLink set (makePkgName set) <> " " <> maintainers
    makePkgName set = (if Text.null set then "" else set <> ".") <> name
    printState set = Text.intercalate " " $ map (\pf -> maybe "" (label pf) $ Map.lookup (set, pf) mapping) platforms
-   makeJobSearchLink set linkLabel= makeSearchLink evalId linkLabel (makePkgName set <> ".") -- Append '.' to the search query to prevent e.g. "hspec." matching "hspec-golden.x86_64-linux"
+   makeJobSearchLink set linkLabel= makeSearchLink evalId linkLabel (makePkgName set)
    sets = toList $ Set.fromList (fst <$> Map.keys mapping)
    platforms = toList $ Set.fromList (snd <$> Map.keys mapping)
    label pf (BuildResult s i) = "[[" <> platformIcon pf <> icon s <> "]](https://hydra.nixos.org/build/" <> showT i <> ")"