From c017e6d51a1757666e3fcfa7754723d8dbe16511 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Fri, 3 Nov 2023 10:20:15 +0200 Subject: chore(third_party/nixpkgs/nix_2_3): switch to 2.3-maintenance The comment about what fixes have been applied was outdated (more was cherry-picked), and all our backports have been upstreamed to the 2.3- maintenance branch. Switch to there, which will also give us support for zstd, which was merged separately. Fixes https://b.tvl.fyi/issues/328 Change-Id: Ice25ebaaf8250a97f032a40a4dd0c7fad2ebda28 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9906 Reviewed-by: tazjin Autosubmit: flokli Tested-by: BuildkiteCI --- third_party/overlays/tvl.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 94c2fbb509..de4788a29b 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -4,19 +4,20 @@ self: super: let - # Rollback Nix to a stable version (2.3) with backports for - # build-user problems applied. + # Rollback Nix to a stable version (2.3) with some backports applied. + # We currently track a commit on the 2.3-maintenance that didn't make it into + # a release yet - tracked in https://github.com/NixOS/nix/issues/9244. nixSrc = let - # branch 2.3-backport-await-users - rev = "46a91f2abaee85135cbb447c13957d3c5e9091a9"; + # branch 2.3-maintenance + rev = "f76990444c17716506080e5445e430a9c5c880f9"; in self.fetchFromGitHub { - owner = "tvlfyi"; + owner = "NixOS"; repo = "nix"; inherit rev; - hash = "sha256:0rwyrh471c5y64axyd8vzzzmzlscg97fsrjbgbm1a93wnzxcvnvk"; + hash = "sha256-EK0pgHDekJFqr0oMj+8ANIjq96WPjICe2s0m4xkUdH4="; } // { revCount = 0; shortRev = builtins.substring 0 7 rev; }; nixTarball = (scopedImport -- cgit 1.4.1