From 6a0c87b77dda4e7b0bc03f21c1273bbc639979a8 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 11 Jun 2026 09:20:19 -0500 Subject: [PATCH] feat: add dockerCompat package from podman --- home/hosts/lithic/default.nix | 2 ++ pkgs/default.nix | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/home/hosts/lithic/default.nix b/home/hosts/lithic/default.nix index 61ac291..452df9a 100644 --- a/home/hosts/lithic/default.nix +++ b/home/hosts/lithic/default.nix @@ -1,5 +1,6 @@ { pkgs, + pkgs', lib, ... }: @@ -28,6 +29,7 @@ in cargo clippy direnv + pkgs'.dockerCompat go home-manager just diff --git a/pkgs/default.nix b/pkgs/default.nix index 808958f..fc12572 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -16,6 +16,12 @@ let adblock_update = c ./adblock_update.nix { }; brew = c ./homebrew.nix { }; create_ssl = c ./create_ssl.nix { }; + dockerCompat = pkgs.runCommand "docker-compat" { + nativeBuildInputs = []; + } '' + mkdir -p $out/bin + ln -s ${pkgs.podman}/bin/podman $out/bin/docker + ''; gcc-tune = c ./gcc-tune.nix { }; #gen-build = c ./gen-build { }; hms = c ./hms { };