nixpkgs/nixos/lib/testing
Robert Hensing ae5cb919f5 nixos/testing/nodes: Do allow aliases
Aliases exist for a reason. Sure it is nice to make sure that
some aliases aren't used within Nixpkgs, but this creates two problems
which are far worse than your failing to meet your neatness compulsions.

- Users encounter missing attributes, https://github.com/NixOS/nixpkgs/issues/264577
  wasting their time, stalling their progress, and even occupying others
  time that would be better spent on fixing *real* issues.

- Hydra doesn't treat evaluation errors seriously enough, with the
  effect that actual relevant test failures are masked by evaluation
  failures such as those caused by this no aliases business.

- We don't even have the infrastructure to get rid of aliases, because
  all warnings in package attributes are disallowed by Nixpkgs CI
  tooling, last I checked.

Before re-disabling this, make sure that

- An actually helpful deprecation process is in place.

- Aliases are still allowed when `nixos-lib.runTests` and
  `pkgs.testers.runNixOSTest` are invoked by external projects.
  For instance, `all-tests.nix` could provide such an
  override (e.g. with `newScope`).
2023-11-06 12:30:28 +01:00
..
call-test.nix nixos/testing: Fix release.nix tests evaluation 2022-09-29 10:49:09 +02:00
default.nix lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
driver.nix nixos/test-driver: provide a global timeout 2023-10-29 12:45:00 +01:00
interactive.nix nixos/testing: Improve interactive docs 2022-09-24 17:42:52 +01:00
legacy.nix nixos/tests: remove minimal-kernel module 2022-12-22 01:42:15 +01:00
meta.nix nixos/lib/testing: set default timeout for VM tests 2023-02-16 19:17:53 +03:00
name.nix nixos/doc: Disambiguate test option ids 2022-09-29 12:41:59 +02:00
network.nix nixos/qemu-vm: quoted string reformat 2023-05-24 08:54:22 +10:00
nixos-test-base.nix nixos/testing: Extract nixos-test-base.nix NixOS module 2022-09-24 17:38:09 +01:00
nodes.nix nixos/testing/nodes: Do allow aliases 2023-11-06 12:30:28 +01:00
pkgs.nix nixos/testing: Add pkgs parameter 2022-09-21 10:55:11 +01:00
run.nix nixos/lib/testing/run: expose rawTestDerivation 2023-10-29 12:45:00 +01:00
testScript.nix nixos/documentation: deprecate docbook option docs 2023-01-22 17:08:40 +01:00