Unverified Commit 8ed07da2 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

Merge pull request #290433 from adamcstephens/consul/tests

nixos/tests/consul: enable unfree
parents 8a583cc8 96e208a6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -42,6 +42,8 @@ let
        ];
        networking.firewall = firewallSettings;

        nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "consul" ];

        services.consul = {
          enable = true;
          inherit webUi;
@@ -65,6 +67,8 @@ let
        ];
        networking.firewall = firewallSettings;

        nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "consul" ];

        services.consul =
          assert builtins.elem thisConsensusServerHost allConsensusServerHosts;
          {