about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-11-08 00:55:32 +0100
committerGitHub <noreply@github.com>2023-11-08 00:55:32 +0100
commit87391b681fa00ad82efe9d1aae432b33d5599e3c (patch)
tree4f8f70430c729edd99961c4a800b12e7ae7b7622 /nixos/lib
parenta3987f5122e9070f757bb3d7fe9daf006788efbc (diff)
parentae5cb919f50ca93d9ecdb6b92d67627fecc2ccad (diff)
Merge pull request #265836 from hercules-ci/nixosTests-no-surprises
nixos/testing/nodes: Do allow aliases
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/testing/nodes.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/nixos/lib/testing/nodes.nix b/nixos/lib/testing/nodes.nix
index a47d1c98ecec3..73e6d386fd1da 100644
--- a/nixos/lib/testing/nodes.nix
+++ b/nixos/lib/testing/nodes.nix
@@ -32,9 +32,6 @@ let
             key = "nodes.nix-pkgs";
             config = optionalAttrs (!config.node.pkgsReadOnly) (
               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;
                 # TODO: switch to nixpkgs.hostPlatform and make sure containers-imperative test still evaluates.
                 nixpkgs.system = hostPkgs.stdenv.hostPlatform.system;
               }