mirror of
https://github.com/traefik/traefik.git
synced 2026-03-21 10:00:12 -04:00
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Publish Documentation / Doc Process (push) Has been cancelled
Build experimental image on branch / build-webui (push) Has been cancelled
Build experimental image on branch / Build experimental image on branch (push) Has been cancelled
44 lines
No EOL
1.2 KiB
Nix
44 lines
No EOL
1.2 KiB
Nix
{
|
|
description = "Dev shell for dev environment";
|
|
|
|
inputs = {
|
|
# Main nixpkgs (used for gnused)
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
# Pinned nixpkgs for kubernetes-controller-tools
|
|
# Search: https://www.nixhub.io/packages/kubernetes-controller-tools
|
|
nixpkgs-kct.url = "github:NixOS/nixpkgs/ee09932cedcef15aaf476f9343d1dea2cb77e261";
|
|
|
|
# Pinned nixpkgs for golangci-lint
|
|
# Search: https://www.nixhub.io/packages/golangci-lint
|
|
nixpkgs-golangci.url = "github:NixOS/nixpkgs/80d901ec0377e19ac3f7bb8c035201e2e098cc97";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-kct, nixpkgs-golangci, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
|
|
pkgs-kct = import nixpkgs-kct {
|
|
inherit system;
|
|
};
|
|
|
|
pkgs-golangci = import nixpkgs-golangci {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs-kct.kubernetes-controller-tools
|
|
pkgs.gnused
|
|
pkgs-golangci.golangci-lint
|
|
];
|
|
};
|
|
}
|
|
);
|
|
} |