Apply nix fmt on setupNixInNixPython-only

This commit is contained in:
Jörg Thalheim
2025-06-17 11:20:43 +02:00
parent 30dfe1656f
commit 0fb326b2f3
2 changed files with 80 additions and 35 deletions

View File

@@ -22,10 +22,15 @@ nixosLib.runTest (
clan.test.fromFlake = ./.;
extraPythonPackages = _p: [
clan-core.legacyPackages.${hostPkgs.system}.setupNixInNixPythonPackage
];
testScript =
{ nodes, ... }:
''
${clan-core.legacyPackages.${hostPkgs.system}.setupNixInNixPython}
from setup_nix_in_nix import setup_nix_in_nix # type: ignore[import-untyped]
setup_nix_in_nix()
def run_clan(cmd: list[str], **kwargs) -> str:
import subprocess