Skip to content

Commit

Permalink
Patch for making kind possible to use with nerdctl
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Dec 10, 2024
1 parent 8271669 commit 471c3f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion home-manager/linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
docker-compose

kubectl
unstable.kind # https://github.com/NixOS/nixpkgs/pull/355534
patched.kind # https://github.com/kubernetes-sigs/kind/pull/3814
stern
unstable.k9s # https://github.com/NixOS/nixpkgs/pull/356238, https://github.com/NixOS/nixpkgs/pull/360993

Expand Down
13 changes: 13 additions & 0 deletions overlays/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@
{ }
);

# Require unstable to apply https://github.com/NixOS/nixpkgs/pull/355534
kind = prev.unstable.kind.overrideAttrs (
finalAttrs: previousAttrs: {
patches = previousAttrs.patches ++ [
(prev.fetchpatch2 {
# https://github.com/kubernetes-sigs/kind/pull/3814
url = "https://patch-diff.githubusercontent.com/raw/kubernetes-sigs/kind/pull/3814.patch";
hash = "sha256-zoS+C16lURnxSgnbxwIfBoJOWPIamOtmS3HKxGuWkYI=";
})
];
}
);

# TODO: Remove after merging https://github.com/NixOS/nixpkgs/pull/301440
cozette = prev.cozette.overrideAttrs (
finalAttrs: previousAttrs: {
Expand Down

0 comments on commit 471c3f5

Please sign in to comment.