Merge pull request #265836 from hercules-ci/nixosTests-no-surprises

nixos/testing/nodes: Do allow aliases

authored by Robert Hensing and committed by GitHub 87391b68 a3987f51

-3
-3
nixos/lib/testing/nodes.nix
··· 32 key = "nodes.nix-pkgs"; 33 config = optionalAttrs (!config.node.pkgsReadOnly) ( 34 mkIf (!options.nixpkgs.pkgs.isDefined) { 35 - # Ensure we do not use aliases. Ideally this is only set 36 - # when the test framework is used by Nixpkgs NixOS tests. 37 - nixpkgs.config.allowAliases = false; 38 # TODO: switch to nixpkgs.hostPlatform and make sure containers-imperative test still evaluates. 39 nixpkgs.system = hostPkgs.stdenv.hostPlatform.system; 40 }
··· 32 key = "nodes.nix-pkgs"; 33 config = optionalAttrs (!config.node.pkgsReadOnly) ( 34 mkIf (!options.nixpkgs.pkgs.isDefined) { 35 # TODO: switch to nixpkgs.hostPlatform and make sure containers-imperative test still evaluates. 36 nixpkgs.system = hostPkgs.stdenv.hostPlatform.system; 37 }