From 5eb07e23966aa1d1a835fe1b913a0214235cd5f8 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 12 Mar 2018 22:38:42 -0500 Subject: metrics: fixup sed expr to work with Nix 2 --- pkgs/top-level/metrics.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/metrics.nix b/pkgs/top-level/metrics.nix index 5f61c67b29cc..eeacb59b64b3 100644 --- a/pkgs/top-level/metrics.nix +++ b/pkgs/top-level/metrics.nix @@ -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 } -- cgit 1.4.1