Files
nixpkgs/nixos/lib/test-driver/nixos-test-driver-docstrings.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
270 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
runCommand,
python3,
}:
let
env = {
nativeBuildInputs = [ python3 ];
};
in
runCommand "nixos-test-driver-docstrings" env ''
mkdir $out
python3 ${./src/extract-docstrings.py} ${./src/test_driver/machine/__init__.py} \
> $out/machine-methods.md
''