Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
21 lines
675 B
Nix
21 lines
675 B
Nix
{
|
|
config,
|
|
lib,
|
|
hostPkgs,
|
|
...
|
|
}:
|
|
{
|
|
config = {
|
|
# default pkgs for use in VMs
|
|
_module.args.pkgs =
|
|
# TODO: deprecate it everywhere; not just on darwin. Throw on darwin?
|
|
lib.warnIf hostPkgs.stdenv.hostPlatform.isDarwin
|
|
"Do not use the `pkgs` module argument in tests you want to run on darwin. It is ambiguous, and many tests are broken because of it. If you need to use a package on the VM host, use `hostPkgs`. Otherwise, use `config.node.pkgs`, or `config.nodes.<name>.nixpkgs.pkgs`."
|
|
hostPkgs;
|
|
|
|
defaults = {
|
|
# TODO: a module to set a shared pkgs, if options.nixpkgs.* is untouched by user (highestPrio) */
|
|
};
|
|
};
|
|
}
|