nixpkgs/nixos/lib
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
..
make-options-doc nixos/make-options-doc: deprecate docbook outputs 2023-06-13 16:56:32 +02:00
test-driver nixos/lib/test-driver: add driver-timeout as a passthru test 2023-10-29 12:45:00 +01:00
testing nixos/testing/nodes: Do allow aliases 2023-11-06 12:30:28 +01:00
default.nix nixos/testing: Move entrypoint to nixos/lib + doc 2022-09-24 17:38:08 +01:00
eval-cacheable-options.nix nixos,nixpkgs: Add module classes 2023-05-06 18:29:04 +02:00
eval-config-minimal.nix lib/modules: Move class out of specialArgs 2023-05-06 18:32:58 +02:00
eval-config.nix nixos/eval-config.nix: Rename arg nixosSystem -> configuration 2023-10-10 13:25:15 +02:00
from-env.nix
make-btrfs-fs.nix nixos/lib/make-btrfs-fs: copy improvements from 2023-09-15 08:04:40 +03:00
make-channel.nix channel: add --show-trace to nix-env command 2023-02-03 23:02:47 +00:00
make-disk-image.nix nixos/lib/make-disk-image: fix installBootLoader for disabled grub 2023-07-19 20:04:57 +02:00
make-ext4-fs.nix
make-iso9660-image.nix make-iso9660-image: use __structuredAttrs 2023-05-11 14:25:44 +02:00
make-iso9660-image.sh make-iso9660-image: use __structuredAttrs 2023-05-11 14:25:44 +02:00
make-multi-disk-zfs-image.nix nixos/lib/make-(multi|single)-disk-zfs-image: use qemu_kvm (host arch) instead of qemu (all arches) 2023-04-28 23:50:44 +02:00
make-single-disk-zfs-image.nix nixos/lib/make-(multi|single)-disk-zfs-image: use qemu_kvm (host arch) instead of qemu (all arches) 2023-04-28 23:50:44 +02:00
make-squashfs.nix make-squashfs: add support for pseudoFiles, custom name, and disabling strip 2023-10-12 10:51:41 -04:00
make-system-tarball.nix make-system-tarball: use pixz -t 2022-08-22 05:28:36 +03:00
make-system-tarball.sh
qemu-common.nix linux-builder: support x86_64-linux on aarch64 2023-10-24 13:35:37 +02:00
systemd-lib.nix nixos/systemd-lib: fix building of empty unit files 2023-11-02 01:18:46 +01:00
systemd-network-units.nix systemd.network.netdev: Add support for WLAN devices 2023-10-16 15:04:44 -07:00
systemd-types.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
systemd-unit-options.nix systemd.units.<name>.wantedBy: fix documentation rendering 2023-05-18 18:04:31 +02:00
test-script-prepend.py nixos/test-driver: Typecheck TestScript 2022-06-02 10:05:45 +02:00
testing-python.nix nixos/test-driver: provide a global timeout 2023-10-29 12:45:00 +01:00
utils.nix Fix broken genJqSecretsReplacementSnippet for jq 1.7 (#257932) 2023-09-30 14:00:13 +02:00