Skip to content

Commit b5330b4

Browse files
committed
fix: allow Terraform BSL license in nix flake
1 parent e3bde7c commit b5330b4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

flake.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
in {
1616
devShells = forAllSystems (system:
1717
let
18-
pkgs = import nixpkgs { inherit system; };
18+
pkgs = import nixpkgs {
19+
inherit system;
20+
config.allowUnfreePredicate = pkg:
21+
builtins.elem (nixpkgs.lib.getName pkg) [ "terraform" ];
22+
};
1923
docsPython = pkgs.python3.withPackages (ps: [
2024
ps.mkdocs
2125
ps."mkdocs-material"

0 commit comments

Comments
 (0)