mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixos/tests/incus: pass package to releases config (#527223)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user