diff --git a/flake.nix b/flake.nix index ee50e1b..4da46c8 100644 --- a/flake.nix +++ b/flake.nix @@ -146,10 +146,16 @@ uterranix.terraform = pkgs: let - hpkgs = inputs.nixpkgs.legacyPackages.${pkgs.stdenv.system}.appendOverlays (with config.flake.overlays; [ - terraform-provider-vault - terraform-provider-influxdb-v2 - ]); + hpkgs = import inputs.nixpkgs { + inherit (pkgs.stdenv) system; + overlays = with self.overlays; [ + terraform-provider-vault + terraform-provider-influxdb-v2 + ]; + config.allowUnfreePredicate = lib'.traceVal (pkgs: builtins.elem (lib'.getName pkgs) [ + "terraform" + ]); + }; in hpkgs.terraform.withPlugins (p: [ p.consul