diff options
author | isomer <isomer@tvl.fyi> | 2020-07-12T22·47+0000 |
---|---|---|
committer | isomer <isomer@tvl.fyi> | 2020-07-13T20·18+0000 |
commit | afd1367337300f0411d1e6eee6bb6b53bbaf113c (patch) | |
tree | 644a49411a29dec88e445bdfd2a03eece0ae7804 /third_party/nix | |
parent | f3165f48aa960a0167c403ec99320affd8425004 (diff) |
fix(nix-channel): Actually strip whitespace. r/1279
This has been providing a warning and it's been bothering me. Change-Id: I0548059950ec4250d7cf0938f9deae09eafe593c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1141 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: isomer <isomer@tvl.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix')
-rw-r--r-- | third_party/nix/src/nix-channel/nix-channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-channel/nix-channel.cc b/third_party/nix/src/nix-channel/nix-channel.cc index 0fb53780d3b1..87cc0a1fea87 100644 --- a/third_party/nix/src/nix-channel/nix-channel.cc +++ b/third_party/nix/src/nix-channel/nix-channel.cc @@ -140,7 +140,7 @@ static void update(const StringSet& channelNames) { CachedDownloadRequest(url + "/nixexprs.tar.bz2")) .path; } - absl::StripTrailingAsciiWhitespace(filename); + filename = absl::StripTrailingAsciiWhitespace(filename); } // Regardless of where it came from, add the expression representing this |