NixOS/nix

Document the installation prefix

Open

#7771 opened on Feb 7, 2023

View on GitHub
 (9 comments) (12 reactions) (0 assignees)C++ (9,803 stars) (1,293 forks)batch import
documentationgood first issue

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.

Contributor guide