From 30e98a4fd67c71277ee95c58c8fd691b69a09183 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sat, 3 Oct 2020 19:57:50 +0200 Subject: 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' --- nixos/tests/common/ec2.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/tests/common/ec2.nix b/nixos/tests/common/ec2.nix index 502fe96231f..52d0310ac72 100644 --- a/nixos/tests/common/ec2.nix +++ b/nixos/tests/common/ec2.nix @@ -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; }; } -- cgit 1.4.1