NixOS/nix

Document the installation prefix

Open

#7 771 ouverte le 7 févr. 2023

Voir sur GitHub
 (9 commentaires) (12 réactions) (0 assignés)C++ (1 293 forks)batch import
documentationgood first issue

Métriques du dépôt

Stars
 (9 803 stars)
Métriques de merge PR
 (Merge moyen 7j 11h) (83 PRs mergées en 30 j)

Description

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.

Guide contributeur