Fix warnings

This commit is contained in:
Robert Hensing 2022-04-07 22:55:22 +02:00
parent 72efe2145d
commit baa515d88e
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,6 @@ let
inherit (pkgs) lib; inherit (pkgs) lib;
composition = lib.evalModules { composition = lib.evalModules {
check = true;
modules = builtinModules ++ modules; modules = builtinModules ++ modules;
}; };
@ -24,6 +23,7 @@ let
_file = ./eval-composition.nix; _file = ./eval-composition.nix;
key = ./eval-composition.nix; key = ./eval-composition.nix;
config._module.args.pkgs = lib.mkIf (pkgs != null) (lib.mkForce pkgs); config._module.args.pkgs = lib.mkIf (pkgs != null) (lib.mkForce pkgs);
config._module.args.check = true;
config.host.nixStorePrefix = hostNixStorePrefix; config.host.nixStorePrefix = hostNixStorePrefix;
config.host.uid = lib.toInt uid; config.host.uid = lib.toInt uid;
}; };

View file

@ -20,7 +20,7 @@ let
in in
{ {
name = "arion-test"; name = "arion-test";
machine = { pkgs, lib, ... }: { nodes.machine = { pkgs, lib, ... }: {
environment.systemPackages = [ environment.systemPackages = [
pkgs.arion pkgs.arion
] ++ lib.optional usePodman pkgs.docker; ] ++ lib.optional usePodman pkgs.docker;