This repository contains Nix packaging for the kubetail CLI tool. It is meant to be consumed primarily as a flake but the default.nix can also be imported directly by non-flakes too.
# Try without installing
nix run github:kubetail-org/kubetail-nix
# Open a shell with `kubetail` installed
nix shell github:kubetail-org/kubetail-nix
# Install to your profile
nix profile add github:kubetail-org/kubetail-nix# Try without installing
nix-build https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gz
# Open a shell with `kubetail` installed
nix-shell https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gz
# Install to your profile
nix-env -i -f https://github.com/kubetail-org/kubetail-nix/archive/refs/heads/main.tar.gzAfter installation, run:
kubetail --helpFor more information on using Kubetail, visit the source repo or the official documentation.
Start the kubetail-nix-dev container:
docker compose upStart a shell inside the container:
docker exec -it kubetail-nix-dev bashThis project will be mounted in the /kubetail-nix directory where you can run nix build ., etc.
Start a shell inside a nix container:
docker run --rm -it -v "$PWD":/kubetail-nix nixos/nix bashThis project will be mounted in the /kubetail-nix directory where you can run nix-build ., etc.
Contributions are welcome! Please feel free to submit a Pull Request.
For issues related to:
- This Nix packaging: Open an issue in this repository
- The kubetail tool itself: Visit the kubetail repository