mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36: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:
|
uterranix.terraform = pkgs:
|
||||||
let
|
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-vault
|
||||||
terraform-provider-influxdb-v2
|
terraform-provider-influxdb-v2
|
||||||
|
];
|
||||||
|
config.allowUnfreePredicate = lib'.traceVal (pkgs: builtins.elem (lib'.getName pkgs) [
|
||||||
|
"terraform"
|
||||||
]);
|
]);
|
||||||
|
};
|
||||||
in
|
in
|
||||||
hpkgs.terraform.withPlugins (p: [
|
hpkgs.terraform.withPlugins (p: [
|
||||||
p.consul
|
p.consul
|
||||||
|
|
Loading…
Reference in a new issue