nixosTestLib: substitute dependencies on tools in

This commit is contained in:
Jörg Thalheim
2025-07-02 16:26:23 +02:00
parent c509f333e4
commit a53efb9386
2 changed files with 11 additions and 2 deletions

View File

@@ -37,6 +37,11 @@
setuptools
wheel
];
postPatch = ''
substituteInPlace nixos_test_lib/nix_setup.py \
--replace '@cp@' '${pkgs.coreutils}/bin/cp' \
--replace '@nix-store@' '${pkgs.nix}/bin/nix-store'
'';
doCheck = false;
};