nixosTestLib: use xargs for copying store inputs

This commit is contained in:
Jörg Thalheim
2025-07-02 16:38:20 +02:00
parent a53efb9386
commit 7f4f11751e
2 changed files with 22 additions and 17 deletions

View File

@@ -40,7 +40,8 @@
postPatch = ''
substituteInPlace nixos_test_lib/nix_setup.py \
--replace '@cp@' '${pkgs.coreutils}/bin/cp' \
--replace '@nix-store@' '${pkgs.nix}/bin/nix-store'
--replace '@nix-store@' '${pkgs.nix}/bin/nix-store' \
--replace '@xargs@' '${pkgs.findutils}/bin/xargs'
'';
doCheck = false;
};