From 70b77932ae3c37f1729230b2f3c5f160cc82bc2e Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 5 Jun 2026 11:05:59 +0100 Subject: fix(nix): replace nonexistent podman-docker attr with writeShellScriptBin shim MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nixpkgs has no top-level `podman-docker` attribute — that's an Arch convenience pkg. NixOS exposes it via the `virtualisation.podman. dockerCompat` option but that's not reachable from home-manager. Ship a one-line writeShellScriptBin instead; same result, no module rewire. --- nix/common.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/common.nix b/nix/common.nix index 66b9038..9c9e093 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -156,7 +156,11 @@ slirp4netns # rootless user-mode networking passt # pasta backend (slirp4netns successor; podman picks it up) podman-compose - podman-docker # `docker` shell shim → podman + # `docker` shell shim → podman. nixpkgs has no top-level + # `podman-docker` attr (Arch ships one as a convenience pkg); the + # NixOS option `virtualisation.podman.dockerCompat` exists but isn't + # reachable from home-manager, so we ship a one-line writer instead. + (writeShellScriptBin "docker" ''exec ${podman}/bin/podman "$@"'') # Editor/AI agent runtimes — NOT for project builds (see policy above) nodejs_24 # copilot-language-server requires Node 24 (see ai.lua) -- cgit v1.3.1