mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-08-27 00:37:20 +00:00
27 lines
733 B
Nix
27 lines
733 B
Nix
{
|
|
description = "Troubleshoot development environment";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
go_1_26
|
|
git # required for go VCS stamping during build
|
|
python3 # required by the dependency-update validation stage
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "Troubleshoot dev — $(go version)" # go 1.26.x required
|
|
'';
|
|
};
|
|
});
|
|
}
|