nixos/testing/driver: Copy cross fix from modules/misc/nixpkgs.nix

f7077ba131

Fixes `error: makeWrapper/makeShellWrapper must be in nativeBuildInputs`

`pkgsCross.aarch64-multiplatform.nixosTests.sway`
This commit is contained in:
Artturin 2023-08-20 12:14:08 +03:00
parent 992337459f
commit 053e69578f

View file

@ -175,7 +175,12 @@ in
}; };
config = { config = {
_module.args.hostPkgs = config.hostPkgs; _module.args = {
hostPkgs =
# Comment is in nixos/modules/misc/nixpkgs.nix
lib.mkOverride lib.modules.defaultOverridePriority
config.hostPkgs.__splicedPackages;
};
driver = withChecks driver; driver = withChecks driver;