about summary refs log tree commit diff
path: root/nixos/tests/boot-stage1.nix
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-29 22:17:04 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-05-12 22:29:25 -0300
commit047734d8e6bc7aa8c4b26cdaf583e6ab9cf3d4ac (patch)
tree844be58da185c1cb1d8a708facbbe885d2ee9b0e /nixos/tests/boot-stage1.nix
parentdc5919aa58b1967264f07459fd6343ed3d4bc9de (diff)
nixos/tests/boot-stage1.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/boot-stage1.nix')
-rw-r--r--nixos/tests/boot-stage1.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/boot-stage1.nix b/nixos/tests/boot-stage1.nix
index fbe82d61afaea..7bef34f4cc3d5 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}"