summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-viper/mapstructure/v2/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/go-viper/mapstructure/v2/flake.nix')
-rw-r--r--vendor/github.com/go-viper/mapstructure/v2/flake.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/vendor/github.com/go-viper/mapstructure/v2/flake.nix b/vendor/github.com/go-viper/mapstructure/v2/flake.nix
deleted file mode 100644
index 3b116f426..000000000
--- a/vendor/github.com/go-viper/mapstructure/v2/flake.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
- flake-parts.url = "github:hercules-ci/flake-parts";
- devenv.url = "github:cachix/devenv";
- };
-
- outputs =
- inputs@{ flake-parts, ... }:
- flake-parts.lib.mkFlake { inherit inputs; } {
- imports = [
- inputs.devenv.flakeModule
- ];
-
- systems = [
- "x86_64-linux"
- "x86_64-darwin"
- "aarch64-darwin"
- ];
-
- perSystem =
- { pkgs, ... }:
- rec {
- devenv.shells = {
- default = {
- languages = {
- go.enable = true;
- };
-
- pre-commit.hooks = {
- nixpkgs-fmt.enable = true;
- };
-
- packages = with pkgs; [
- golangci-lint
- ];
-
- # https://github.com/cachix/devenv/issues/528#issuecomment-1556108767
- containers = pkgs.lib.mkForce { };
- };
-
- ci = devenv.shells.default;
- };
- };
- };
-}