diff --git a/configuration.nix b/configuration.nix index 5dd3b85..9e6a7a3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -128,7 +128,19 @@ brave vscodium neovim - docker-compose + # nixos-channel 24.11 only has 2.23.0 so I manually update to v2.24.0 here + # reference: https://github.com/NixOS/nixpkgs/blob/a0f3e10d94359665dba45b71b4227b0aeb851f8e/pkgs/applications/virtualization/docker/compose.nix + (docker-compose.overrideAttrs (oldAttrs: rec { + version = "2.24.0"; + src = pkgs.fetchFromGitHub { + owner = "docker"; + repo = "compose"; + rev = "v${version}"; + hash = "sha256-6wa4kIl65z3kk+wzDX+WhS50J+e0AZ+W8A++bdnRc2M="; + }; + vendorHash = "sha256-03jlomVb3jS+SkmIxRtPsaMx2VKLYX/Lp9JH/mlJvK4="; + ldflags = [ "-X github.com/docker/compose/v2/internal.Version=v${version}" "-s" "-w" ]; + })) nodejs signal-desktop telegram-desktop