mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
[Backport release-26.05] nixos/tests/incus: pass package to releases config (#527287)
This commit is contained in:
commit
26c7178ea5
1 changed files with 7 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
jsonFormat = pkgs.formats.json { };
|
||||
cfg = config.tests.incus;
|
||||
in
|
||||
{
|
||||
options.tests.incus = {
|
||||
|
|
@ -74,7 +76,11 @@ in
|
|||
config =
|
||||
let
|
||||
releases = import ../../release.nix {
|
||||
configuration = config.nixosConfig;
|
||||
configuration = lib.recursiveUpdate config.nixosConfig {
|
||||
virtualisation.incus = {
|
||||
inherit (cfg) package;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
images = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue