flake.nix: print options.md outpath during build

Helpful for debugging the resulting options file.
This commit is contained in:
Martin Weinelt 2025-05-08 07:31:25 +02:00
parent 3268d8b0d8
commit 4c25278507
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -96,6 +96,7 @@
in pkgs.runCommand "options.md" { buildInputs = [pkgs.python3Minimal]; } '' in pkgs.runCommand "options.md" { buildInputs = [pkgs.python3Minimal]; } ''
echo "Generating options.md from ${options}" echo "Generating options.md from ${options}"
python ${./scripts/generate-options.py} ${options} > $out python ${./scripts/generate-options.py} ${options} > $out
echo $out
''; '';
documentation = pkgs.stdenv.mkDerivation { documentation = pkgs.stdenv.mkDerivation {