From 442728a5cac1e8bd9136196bf3f6b1b30f9fed51 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Thu, 5 Mar 2026 15:44:58 +0100 Subject: [PATCH] do less string coercion in test modules in case that reduces copies idk honestly but these tests take sooo long I'm paranoid --- tests/dynix-vm-configuration.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dynix-vm-configuration.nix b/tests/dynix-vm-configuration.nix index 59ee1ec..9148302 100644 --- a/tests/dynix-vm-configuration.nix +++ b/tests/dynix-vm-configuration.nix @@ -1,6 +1,6 @@ { pkgs, lib, modulesPath, ... }: let - moduleList = import "${modulesPath}/module-list.nix"; + moduleList = import (modulesPath + "/module-list.nix"); dynixFromSearchPath = let res = builtins.tryEval ; @@ -8,7 +8,7 @@ let in { imports = [ - "${modulesPath}/testing/test-instrumentation.nix" + (modulesPath + "/testing/test-instrumentation.nix") ] ++ lib.concatLists [ dynixFromSearchPath moduleList @@ -26,7 +26,7 @@ in nix = { package = pkgs.lixPackageSets.latest.lix; nixPath = [ - "nixpkgs=${pkgs.path}" + ("nixpkgs=" + pkgs.path) "/nix/var/nix/profiles/per-user/root/profile/share/nixos/modules" ];