mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Restore detailed Nix CLI version
... as intended.
Requirements:
- don't build fresh libraries for each git commit
- have git commit in the CLI
Bug:
- echo ${version} went into the wrong file => use the fact that it's
a symlink, not just for reading but also for writing.
This commit is contained in:
parent
9427c028ec
commit
bba4e6b061
5 changed files with 18 additions and 5 deletions
|
|
@ -242,7 +242,7 @@ Path Settings::getDefaultSSLCertFile()
|
|||
return "";
|
||||
}
|
||||
|
||||
const std::string nixVersion = PACKAGE_VERSION;
|
||||
std::string nixVersion = PACKAGE_VERSION;
|
||||
|
||||
NLOHMANN_JSON_SERIALIZE_ENUM(SandboxMode, {
|
||||
{SandboxMode::smEnabled, true},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue