nixpkgs/nixos/lib
Emily 8221c09ff5
nixos/lib/test-driver: fix linting after compatibility clean‐up
The previous commit removed the handling of `dict` arguments, but
didn’t adjust the type, leading to the following type-checking error:

    test_driver/driver.py:216: error: Argument 1 to "NixStartScript" has incompatible type "str | dict[Any, Any]"; expected "str"  [arg-type]

It also left an unused import that Ruff is unhappy about:

    build/lib/test_driver/driver.py:11:22: F401 [*] `colorama.Fore` imported but unused
    …
    build/lib/test_driver/driver.py:11:28: F401 [*] `colorama.Style` imported but unused

Fixes: 71306e6b36
(cherry picked from commit d490680530)
(cherry picked from commit ff31b814b6)
2024-11-30 15:11:39 +01:00
..
make-options-doc nixos/lib/make-options-doc: remove optionsDocBook 2024-11-22 18:30:11 +01:00
test-driver nixos/lib/test-driver: fix linting after compatibility clean‐up 2024-11-30 15:11:39 +01:00
testing Revert "NixOS apply script" 2024-11-01 20:18:09 -04:00
default.nix
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix
from-env.nix
make-btrfs-fs.nix
make-channel.nix
make-disk-image.nix make-disk-image: Allow passing of image baseName 2024-11-26 17:19:18 +01:00
make-ext4-fs.nix fix build: sdimage 2024-08-28 11:32:36 +04:00
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix various: remove left-over rtc_cmos rootModule 2024-11-26 22:02:46 +01:00
make-single-disk-zfs-image.nix various: remove left-over rtc_cmos rootModule 2024-11-26 22:02:46 +01:00
make-squashfs.nix make-squashfs: add support for generating hydra build products 2024-08-17 09:00:43 -04:00
make-system-tarball.nix
make-system-tarball.sh
qemu-common.nix treewide: stdenv.is -> stdenv.hostPlatform.is (#356363) 2024-11-17 16:11:54 +05:30
systemd-lib.nix nixos/networkd: allow byte values to be integers 2024-11-03 18:26:20 +00:00
systemd-network-units.nix nixos/systemd-networkd: add PREF64 related options 2024-06-09 20:41:32 -07:00
systemd-types.nix nixos/make-initrd-ng: dlopen ELF notes 2024-07-21 06:31:42 -04:00
systemd-unit-options.nix nixos/systemd: allow using writeShellApplication for systemd unit scripts 2024-10-08 12:01:48 +02:00
test-script-prepend.py nixos/test-driver: Separate XML and Terminal log 2024-05-07 15:17:16 +02:00
testing-python.nix
utils.nix nixos/utils: support JSON secret files in genJqSecretsReplacementSnippet 2024-07-07 19:22:10 +08:00