From 554d31a873b8822ff8f5d0d6499725cf242cb340 Mon Sep 17 00:00:00 2001 From: Robert Rose Date: Thu, 30 Apr 2026 15:46:25 +0200 Subject: [PATCH] Revert "k3s: fix build reproducibility" This reverts commit b318b8a30a64d6e90c60fde4fe9c91cb515f9e40. The change introduced by this commit is merged upstream (k3s) and available in all recent releases. --- pkgs/applications/networking/cluster/k3s/builder.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/applications/networking/cluster/k3s/builder.nix b/pkgs/applications/networking/cluster/k3s/builder.nix index cd24ce5ba03c..c6c5f758dfc8 100644 --- a/pkgs/applications/networking/cluster/k3s/builder.nix +++ b/pkgs/applications/networking/cluster/k3s/builder.nix @@ -393,10 +393,6 @@ buildGoModule (finalAttrs: { --replace-fail '"$LDFLAGS $STATIC" -o' \ '"$LDFLAGS" -o' - # Ensure the embedded tarball is reproducible: sort file order and clamp timestamps - substituteInPlace scripts/package-cli \ - --replace-fail 'tar cvf' 'tar c --sort=name --mtime=@0 -vf' - # Add the -e flag to process "errornous" packages. We need to modify this because the upstream # build-time version detection doesn't work with a vendor directory. substituteInPlace scripts/version.sh \