17 lines
261 B
Nix
17 lines
261 B
Nix
{
|
|
runCommand,
|
|
python3,
|
|
}:
|
|
|
|
let
|
|
env = {
|
|
nativeBuildInputs = [ python3 ];
|
|
};
|
|
in
|
|
|
|
runCommand "nixos-test-driver-docstrings" env ''
|
|
mkdir $out
|
|
python3 ${./src/extract-docstrings.py} ${./src/test_driver/machine.py} \
|
|
> $out/machine-methods.md
|
|
''
|