From 7e5d1ccf67064302d33da17e376b130bd744e4e2 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 5 May 2026 20:51:40 +0100 Subject: [PATCH] fix tests thst need overlay.nix --- tests/ext4/test.nix | 4 +++- tests/fennel/test.nix | 2 +- tests/inout/test.nix | 2 +- tests/jffs2/test.nix | 2 +- tests/min-copy-closure/test.nix | 2 +- tests/pppoe/test.nix | 2 +- tests/pseudofiles/test.nix | 2 +- tests/updown/test.nix | 2 +- tests/wlan/test.nix | 2 +- 9 files changed, 11 insertions(+), 9 deletions(-) diff --git a/tests/ext4/test.nix b/tests/ext4/test.nix index 0717a6a..0fd2ff3 100644 --- a/tests/ext4/test.nix +++ b/tests/ext4/test.nix @@ -4,7 +4,9 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.vmroot; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { + overlays = [ ((import ../../overlay.nix) ) ]; + }; in pkgs.runCommand "check" { diff --git a/tests/fennel/test.nix b/tests/fennel/test.nix index c4fae00..9a7f2ac 100644 --- a/tests/fennel/test.nix +++ b/tests/fennel/test.nix @@ -1,5 +1,5 @@ let - overlay = import ; + overlay = import ; pkgs = import { overlays = [ overlay ]; }; script = pkgs.writeFennel "foo" { } ./hello.fnl; inherit (pkgs.lua.pkgs) fifo; diff --git a/tests/inout/test.nix b/tests/inout/test.nix index dc483c3..39c46d3 100644 --- a/tests/inout/test.nix +++ b/tests/inout/test.nix @@ -4,7 +4,7 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.vmroot; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; in pkgs.runCommand "check" { diff --git a/tests/jffs2/test.nix b/tests/jffs2/test.nix index 0717a6a..4d69d35 100644 --- a/tests/jffs2/test.nix +++ b/tests/jffs2/test.nix @@ -4,7 +4,7 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.vmroot; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; in pkgs.runCommand "check" { diff --git a/tests/min-copy-closure/test.nix b/tests/min-copy-closure/test.nix index 135d473..2d79a0b 100644 --- a/tests/min-copy-closure/test.nix +++ b/tests/min-copy-closure/test.nix @@ -7,7 +7,7 @@ let ); myPkg = lmx.pkgs.rsyncSmall; img = lmx.outputs.vmroot; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; in pkgs.runCommand "check" { diff --git a/tests/pppoe/test.nix b/tests/pppoe/test.nix index 1e9458d..29b3f00 100644 --- a/tests/pppoe/test.nix +++ b/tests/pppoe/test.nix @@ -4,7 +4,7 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.default; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; inherit (pkgs.pkgsBuildBuild) routeros; in pkgs.runCommand "check" diff --git a/tests/pseudofiles/test.nix b/tests/pseudofiles/test.nix index 39f7cd2..28bb889 100755 --- a/tests/pseudofiles/test.nix +++ b/tests/pseudofiles/test.nix @@ -1,5 +1,5 @@ let - overlay = import ; + overlay = import ; pkgs = import { overlays = [ overlay ]; }; fixture = pkgs.callPackage ./fixture.nix { }; in diff --git a/tests/updown/test.nix b/tests/updown/test.nix index f1ba1a9..5bbb02d 100644 --- a/tests/updown/test.nix +++ b/tests/updown/test.nix @@ -4,7 +4,7 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.vmroot; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; in pkgs.runCommand "check" { diff --git a/tests/wlan/test.nix b/tests/wlan/test.nix index 40f96dd..fdaa71d 100644 --- a/tests/wlan/test.nix +++ b/tests/wlan/test.nix @@ -4,7 +4,7 @@ let device = import ; liminix-config = ./configuration.nix; }).outputs.default; - pkgs = import { overlays = [ (import ../../overlay.nix) ]; }; + pkgs = import { overlays = [ (import ../../overlay.nix ) ]; }; in pkgs.runCommand "check" {