NixOS/nix

Document the installation prefix

Open

#7771 aperta il 7 feb 2023

Vedi su GitHub
 (9 commenti) (12 reazioni) (0 assegnatari)C++ (1293 fork)batch import
documentationgood first issue

Metriche repository

Star
 (9803 star)
Metriche merge PR
 (Merge medio 7g 11h) (83 PR mergiate in 30 g)

Descrizione

Problem

Many environment variables rely on a prefix that is not further explained, and it's not clear where it is defined and what value it has. In practice we observe it to be /nix.

Grepping the source one only finds one relevant occurrence in the Makefile, which defaults to /usr/local in the makefile, but this is just the location to place the build result in, and is set to $out in the Nix-based build.

Proposal

Document what prefix defaults to, and how and where it can be set.

Checklist

Priorities

Add :+1: to issues you find important.

Guida contributor