From 2d10d60fac0fd00a71b65cfdcb9fba0477b2086c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 30 Jan 2022 19:04:18 +0300 Subject: feat(3p/overlays): bump nixpkgs-fmt to latest master commit Change-Id: I1ebcce3404d4ee07ff21de60b1b370d80293cb74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5141 Tested-by: BuildkiteCI Reviewed-by: sterni --- third_party/overlays/tvl.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'third_party/overlays') diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 7105dc59c2ea..e6e97b834785 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -49,4 +49,20 @@ self: super: { mkShell = super.lib.makeOverridable(args: (super.mkShell args) // { meta.ci.skip = true; }); + + # bump nixpkgs-fmt to a version that doesn't touch whitespace in + # strings + nixpkgs-fmt = super.nixpkgs-fmt.overrideAttrs(old: rec { + src = self.fetchFromGitHub { + owner = "nix-community"; + repo = "nixpkgs-fmt"; + rev = "5ae8532b82eb040ca6b21ae2d02d9e88f604e76a"; + sha256 = "0hjkbcgz62793hzfzlaxyah8a2c1k79n1k891lg7kfw8mkbq0w4p"; + }; + + cargoDeps = old.cargoDeps.overrideAttrs(_: { + inherit src; + outputHash = "10if2lmv8d95j3walq3ggx3y423yfy4yl9vplw3apd0s671bly8b"; + }); + }); } -- cgit 1.4.1