metrics: fixup sed expr to work with Nix 2
This commit is contained in:
parent
708e3fb160
commit
5eb07e2396
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ runCommand "nixpkgs-metrics"
|
|||
[[ -n $x ]] || exit 1
|
||||
echo "$name.allocations $x B" >> $out/nix-support/hydra-metrics
|
||||
|
||||
x=$(sed -e 's/.*values allocated: \([0-9]\+\) .*/\1/ ; t ; d' stats)
|
||||
x=$(sed -e 's/.*values allocated bytes: \([0-9]\+\).*/\1/ ; t ; d' stats)
|
||||
[[ -n $x ]] || exit 1
|
||||
echo "$name.values $x" >> $out/nix-support/hydra-metrics
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue