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:
parent
c1c38bb2b7
commit
707cbad5f8
7 changed files with 13 additions and 4 deletions
|
|
@ -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"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue