commit 92643e03b3252a93179c2be41a321b181aa38bc4 parent e55043a5a9f1f1a434755dd6f36206f8ea480803 Author: Daniel Barlow <dan@telent.net> Date: Tue, 15 Apr 2025 12:58:29 +0100 min-copy-closure use rsync instead of rogue as demo package this is to fix the CI job - because rsync builds and rogue presently doesn't Diffstat:
| M | tests/min-copy-closure/test.nix | | | 11 | ++++++----- |
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/min-copy-closure/test.nix b/tests/min-copy-closure/test.nix @@ -6,6 +6,7 @@ let } ); rogue = lmx.pkgs.rogue; + myPkg = lmx.pkgs.rsyncSmall; img = lmx.outputs.vmroot; pkgs = import <nixpkgs> { overlays = [ (import ../../overlay.nix) ]; }; in @@ -15,7 +16,7 @@ pkgs.runCommand "check" expect socat min-copy-closure - rogue + myPkg ]; } '' @@ -28,9 +29,9 @@ pkgs.runCommand "check" echo ready to go export SSH_COMMAND="ssh -o StrictHostKeyChecking=no -p 2022 -i ${./id}" $SSH_COMMAND root@localhost echo ready - IN_NIX_BUILD=true min-copy-closure --quiet root@localhost ${rogue} - $SSH_COMMAND root@localhost ls -ld ${rogue} - IN_NIX_BUILD=true min-copy-closure --root /run root@localhost ${rogue} - $SSH_COMMAND root@localhost ls -ld /run/${rogue} + IN_NIX_BUILD=true min-copy-closure --quiet root@localhost ${myPkg} + $SSH_COMMAND root@localhost ls -ld ${myPkg} + IN_NIX_BUILD=true min-copy-closure --root /run root@localhost ${myPkg} + $SSH_COMMAND root@localhost ls -ld /run/${myPkg} ) 2>&1 | tee $out ''