You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2024. It is now read-only.
This document provides an "under the hood" look into the workings of Nixster. It's intendended for contributors and interested users.
4
+
5
+
## Nix
6
+
7
+
8
+
9
+
### Normalising package names
10
+
11
+
One of the things that Nixster needs is a mapping between package names and Nix attribute paths. This allows Nixster to add or remove Nix packages from environments based on their `environ.yaml` file. Sometimes there is consistency between names and attribute paths. For example, the package known on CRAN as `babynames`, has the Nix name `r-babynames-0.3.0` and the attribute name `rPackages.babynames`. Other times there is less consistentcy. For example, the package known on PyPi as `buildbot-grid-view` has the name `python3.7-buildbot-grid-view-1.4.0` and attribute path `python37Packages.buildbot-plugins.grid-view`.
12
+
13
+
Nixster creates two new columns `name` and `version` by parsing the Nix package name an normalizing it to only contain lowercase letters (`a-z`), digits (`0-9`) and dashes (`-`). To do this, the `nix_name` is parsed
14
+
15
+
`python-buildbot-grid-view` will install the package with Nix attributue path `python37Packages.buildbot-plugins.grid-view`
0 commit comments