do less string coercion in test modules in case that reduces copies
idk honestly but these tests take sooo long I'm paranoid
This commit is contained in:
parent
a8a2d6e043
commit
442728a5ca
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, lib, modulesPath, ... }:
|
{ pkgs, lib, modulesPath, ... }:
|
||||||
let
|
let
|
||||||
moduleList = import "${modulesPath}/module-list.nix";
|
moduleList = import (modulesPath + "/module-list.nix");
|
||||||
|
|
||||||
dynixFromSearchPath = let
|
dynixFromSearchPath = let
|
||||||
res = builtins.tryEval <dynix>;
|
res = builtins.tryEval <dynix>;
|
||||||
|
|
@ -8,7 +8,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${modulesPath}/testing/test-instrumentation.nix"
|
(modulesPath + "/testing/test-instrumentation.nix")
|
||||||
] ++ lib.concatLists [
|
] ++ lib.concatLists [
|
||||||
dynixFromSearchPath
|
dynixFromSearchPath
|
||||||
moduleList
|
moduleList
|
||||||
|
|
@ -26,7 +26,7 @@ in
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.lixPackageSets.latest.lix;
|
package = pkgs.lixPackageSets.latest.lix;
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"nixpkgs=${pkgs.path}"
|
("nixpkgs=" + pkgs.path)
|
||||||
"/nix/var/nix/profiles/per-user/root/profile/share/nixos/modules"
|
"/nix/var/nix/profiles/per-user/root/profile/share/nixos/modules"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue