mirror of
https://github.com/nix-community/nixpkgs-update.git
synced 2024-09-11 14:05:43 +03:00
don't report linux rebuilds separately
All the rebuilds are linux
This commit is contained in:
parent
192513ad56
commit
3969dd29b8
@ -193,22 +193,16 @@ archRebuilds :: Text -> Set ResultLine -> Int
|
||||
archRebuilds arch =
|
||||
S.toList >>> fmap architecture >>> filter (== arch) >>> length
|
||||
|
||||
linuxRebuilds :: Set ResultLine -> Int
|
||||
linuxRebuilds = archRebuilds "x86_64-linux"
|
||||
|
||||
outpathReport :: Set ResultLine -> Text
|
||||
outpathReport diff =
|
||||
let pkg = tshow $ V.length $ packageRebuilds diff
|
||||
firstFifty = T.unlines $ V.toList $ V.take 50 $ packageRebuilds diff
|
||||
linux = tshow $ linuxRebuilds diff
|
||||
numPaths = tshow $ S.size diff
|
||||
in [interpolate|
|
||||
$numPaths total rebuild path(s)
|
||||
|
||||
$pkg package rebuild(s)
|
||||
|
||||
$linux x86_64-linux rebuild(s)
|
||||
|
||||
First fifty rebuilds by attrpath
|
||||
$firstFifty
|
||||
|]
|
||||
|
Loading…
Reference in New Issue
Block a user