Skip to main content

Module sysinfo

Module sysinfo 

Source
Expand description

System information and path detection.

Detects the system type (NixOS, traditional FHS, etc.) and provides appropriate paths for sandbox configuration.

Structs§

SystemPaths
Paths that exist on the current system for mounting.

Enums§

SystemType
System type detection.

Statics§

SYSTEM_PATHS

Functions§

get_store_path
Get the store path for a binary (first component after /nix/store/ or /gnu/store/).
is_guix_store_path
is_nix_store_path