Pkgs.writers not in the manual?

I just discovered nixpkgs/pkgs/build-support/writers/scripts.nix at c6f52ebd45e5925c188d1a20119978aa4ffd5ef6 · NixOS/nixpkgs · GitHub which seems very useful. I can write my scripts comfortably in Python now, and not always Bash. That’s good!

Those have docstrings… why they don’t appear in the manuals? :thinking:

Your are right. It is in pkgs.writers.makeScriptWriter - Nix function reference though where I tend to look first for documentation on functions.

Yikes I didn’t remember Noogle…

There should be a place where to search all official docs at once: NixOS manual, Nixpkgs manual, Nix manual, nix.dev, Noogle, wiki.nixos.org… all feels scattered and disconnected.

3 Likes

I fully agree with you.