Add tar and gzip packages to the pika-git Nix runtime
Intent: Make `tar` (GNU tar) and `gzip` available as runtime dependencies of the pika-git service so that archive and compression operations can be performed inside its environment.
Affected files: infra/nix/modules/pika-git.nix
@@ -129,6 +129,8 @@ in
pkgs.claude-code
pkgs.curl
pkgs.git
+ pkgs.gnutar
+ pkgs.gzip
pkgs.just
pkgs.nix
pkgs.openssh
What changed
Two new packages — pkgs.gnutar and pkgs.gzip — are added to the runtime package list in infra/nix/modules/pika-git.nix (lines 132–133).
Why it matters
The pika-git runtime is a controlled Nix environment where only explicitly listed packages are available. Without gnutar and gzip, any workflow that needs to create or extract .tar or .tar.gz archives (e.g., bundling repository snapshots, unpacking vendored dependencies, or working with release artifacts) would fail at runtime.
How it works
Nix modules declare their runtime dependencies as a list of packages. By appending pkgs.gnutar and pkgs.gzip to this list, the Nix build system ensures that the tar and gzip binaries are present on $PATH when the pika-git service starts.
# infra/nix/modules/pika-git.nix (around line 129)
pkgs.claude-code
pkgs.curl
pkgs.git
pkgs.gnutar # <-- NEW
pkgs.gzip # <-- NEW
pkgs.just
pkgs.nix
pkgs.openssh
The entries are inserted in alphabetical order, consistent with the existing style of the package list.
Verification
After rebuilding the Nix environment you can confirm availability:
which tar # should resolve to the Nix store path for gnutar
which gzip # should resolve to the Nix store path for gzip
tar --version
gzip --version