mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-21 23:54:22 +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
14
flake.nix
14
flake.nix
|
@ -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 {
|
||||||
terraform-provider-vault
|
inherit (pkgs.stdenv) system;
|
||||||
terraform-provider-influxdb-v2
|
overlays = with self.overlays; [
|
||||||
]);
|
terraform-provider-vault
|
||||||
|
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