NixOS/nix

Document the installation prefix

Open

#7.771 aberto em 7 de fev. de 2023

Ver no GitHub
 (9 comments) (12 reactions) (0 assignees)C++ (1.293 forks)batch import
documentationgood first issue

Métricas do repositório

Stars
 (9.803 stars)
Métricas de merge de PR
 (Mesclagem média 7d 11h) (83 fundiu PRs em 30d)

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.

Guia do colaborador