diff options
| author | 2026-06-05 11:05:59 +0100 | |
|---|---|---|
| committer | 2026-06-05 11:05:59 +0100 | |
| commit | 70b77932ae3c37f1729230b2f3c5f160cc82bc2e (patch) | |
| tree | ce40fc75da2a7fc025500735d42617e765b36142 /nix | |
| parent | 355caf86c2ccd7115e99a98bbbc4d2ec84246637 (diff) | |
| download | dotfiles-70b77932ae3c37f1729230b2f3c5f160cc82bc2e.tar.gz dotfiles-70b77932ae3c37f1729230b2f3c5f160cc82bc2e.tar.bz2 dotfiles-70b77932ae3c37f1729230b2f3c5f160cc82bc2e.zip | |
fix(nix): replace nonexistent podman-docker attr with writeShellScriptBin shim
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.
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/common.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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) |
