nixosTests.ec2-config: avoid an evaluation problem
The problem was introduced by commit 97a32bc
(within PR #79696).
nixos/tests/common/ec2.nix:6:17 called with unexpected argument 'meta'
This commit is contained in:
parent
748871ad42
commit
30e98a4fd6
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
with pkgs.lib;
|
||||
|
||||
{
|
||||
makeEc2Test = { name, image, userData, script, hostname ? "ec2-instance", sshPublicKey ? null }:
|
||||
makeEc2Test = { name, image, userData, script, hostname ? "ec2-instance", sshPublicKey ? null, meta ? {} }:
|
||||
let
|
||||
metaData = pkgs.stdenv.mkDerivation {
|
||||
name = "metadata";
|
||||
|
@ -59,5 +59,7 @@ with pkgs.lib;
|
|||
|
||||
machine = create_machine({"startCommand": start_command})
|
||||
'' + script;
|
||||
|
||||
inherit meta;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue