Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion nixos/lib/testing-python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,13 @@ rec {
{
virtualisation.qemu.package = qemu_pkg;
}
);
) ++ [(
{
# 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;
}
)];
};

# FIXME: get this pkg from the module system
Expand Down
2 changes: 1 addition & 1 deletion nixos/tests/make-test-python.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
f: {
system ? builtins.currentSystem,
pkgs ? import ../.. { inherit system; config = {}; },
pkgs ? import ../.. { inherit system; },
...
} @ args:

Expand Down