From 047734d8e6bc7aa8c4b26cdaf583e6ab9cf3d4ac Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 29 Apr 2023 22:17:04 -0300 Subject: [PATCH] nixos/tests/boot-stage1.nix: get rid of `with lib` --- nixos/tests/boot-stage1.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix index fbe82d61afa..7bef34f4cc3 100644 --- a/nixos/tests/boot-stage1.nix +++ b/nixos/tests/boot-stage1.nix @@ -107,8 +107,8 @@ import ./make-test-python.nix ({ pkgs, ... }: { ''; }; - copyCanaries = with lib; concatMapStrings (canary: '' - ${optionalString (canary ? child) '' + copyCanaries = lib.concatMapStrings (canary: '' + ${lib.optionalString (canary ? child) '' copy_bin_and_libs "${canary.child}/bin/${canary.child.name}" ''} copy_bin_and_libs "${canary}/bin/${canary.name}"