Commit 8a7282f9 authored by K900's avatar K900
Browse files

nixosTest: fix tests defined with pkgs.nixosTest

parent b3e14b90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -28,9 +28,9 @@ let
            {
              virtualisation.qemu.package = testModuleArgs.config.qemu.package;
            })
          (optionalAttrs (!config.node.pkgsReadOnly) {
          ({ options, ... }: {
            key = "nodes.nix-pkgs";
            config = {
            config = mkIf (!options.nixpkgs.pkgs.isDefined) {
              # Ensure we do not use aliases. Ideally this is only set
              # when the test framework is used by Nixpkgs NixOS tests.
              nixpkgs.config.allowAliases = false;