This is a simple flake to build the gitops
binary from the
weave-gitops repository.
A minimal flake to use this package in a dev shell environment with nix develop
:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
weave-gitops-nix.url = "github:TGuimbert/weave-gitops-nix";
};
outputs = { self, nixpkgs, weave-gitops-nix }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell.${system} = pkgs.mkShell {
packages = [
weave-gitops-nix.packages.${system}.gitops
];
};
};
}