From 96c02c668194801fce593eec556480a019afbcc8 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Fri, 15 Sep 2023 16:00:36 +0200 Subject: [PATCH] ioc/tests/cross: fix package name --- ioc/tests/cross/default.nix | 3 ++- ioc/tests/default.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ioc/tests/cross/default.nix b/ioc/tests/cross/default.nix index 575ace39..92010bf1 100644 --- a/ioc/tests/cross/default.nix +++ b/ioc/tests/cross/default.nix @@ -1,6 +1,7 @@ { pkgs, crossSystem, + system-name, ... }: let inherit (pkgs) epnixLib; @@ -19,7 +20,7 @@ emulator = pkgs.lib.replaceStrings ["\""] ["\\\""] (hostPlatform.emulator pkgs); in pkgs.nixosTest { - name = "cross-for-${system}"; + name = "cross-for-${system-name}"; meta.maintainers = with epnixLib.maintainers; [minijackson]; nodes.machine = {}; diff --git a/ioc/tests/default.nix b/ioc/tests/default.nix index 62ca3c65..13b0513a 100644 --- a/ioc/tests/default.nix +++ b/ioc/tests/default.nix @@ -14,7 +14,7 @@ with pkgs.lib; in nameValuePair "cross-for-${system-name}" - (import ./cross/default.nix (args // {inherit crossSystem;})); + (import ./cross/default.nix (args // {inherit crossSystem system-name;})); systemsToCheck = with systems.examples; [ # Maybe one day...