1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

nixos/tests/boot-stage1.nix: get rid of with lib

This commit is contained in:
Anderson Torres 2023-04-29 22:17:04 -03:00
parent dc5919aa58
commit 047734d8e6

View file

@ -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}"