From c2ac99ce528061da1c31c5c70bd8b3ec816ca94c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 24 Oct 2023 16:51:11 +0200 Subject: [PATCH] make terraform halal again --- flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index af87ea4..70f4f9f 100644 --- a/flake.nix +++ b/flake.nix @@ -30,10 +30,12 @@ programs.terraform.enable = true; programs.nixpkgs-fmt.enable = true; }; - packages.default = pkgs.mkShell { + packages.default = let + terraformHalal = pkgs.terraform.overrideAttrs (_old: { meta = _old.meta // { license = lib.licenses.free; }; }); + in pkgs.mkShell { packages = [ pkgs.bashInteractive - (pkgs.terraform.withPlugins (p: [ + (terraformHalal.withPlugins (p: [ p.netlify p.hcloud p.null