Open alejandrosame opened 1 year ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-08-23-documentation-team-meeting-notes-75/32142/1
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/making-packages-projects-available-to-nixos/38462/3
Context
This issue outlines the Python related nixpkgs interfaces. This outline surfaces the interfaces uncovered by the Python reference in the manual, but covered in the other sections of the Python documentation.
In order to address TODO#2 below, the outline proposes a new presentation structure which makes explicit the placement of the given interface from the root prepending
pkgs
. File representation of the interfaces is relevant information reserved for the content of each subsection.Conventions used
pkgs
: At root level, it corresponds with all attributes exposed by nixpkgs,pkgs = import <nixpkgs>{}
.${python}
: Represents a given Python interpreter attribute name. The writing hints at the reader to check the interpreters' table,pythonInterpreters.<TAB>
orlib.attrNames pythonInterpreters
for supported interpreters when in doubt.${pypkg}
: Represents a given Python package attribute name, e.g. pandas.ps
: stands for nixpkgs package set, as used in the user guide.Note
: It might be a good idea to use nixpkgs python package set to avoid confusion with other package sets inside nixpkgs.TODO
Outline