mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 01:26:14 +01:00
Allow building terraform even though its nonfree
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
8cb85d620f
commit
b6df5483bd
|
@ -146,10 +146,16 @@
|
|||
|
||||
uterranix.terraform = pkgs:
|
||||
let
|
||||
hpkgs = inputs.nixpkgs.legacyPackages.${pkgs.stdenv.system}.appendOverlays (with config.flake.overlays; [
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue