1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-23 18:59:35 +01:00

Show Determinate Nix version number

`nix --version` will now show `nix (Determinate Nix 1.0) 2.24.10`.
This commit is contained in:
Eelco Dolstra 2024-10-30 18:46:59 +01:00
parent c1c38bb2b7
commit 707cbad5f8
7 changed files with 13 additions and 4 deletions

View file

@ -273,6 +273,8 @@ Path Settings::getDefaultSSLCertFile()
const std::string nixVersion = PACKAGE_VERSION;
const std::string determinateNixVersion = DETERMINATE_NIX_VERSION;
NLOHMANN_JSON_SERIALIZE_ENUM(SandboxMode, {
{SandboxMode::smEnabled, true},
{SandboxMode::smRelaxed, "relaxed"},