diff options
Diffstat (limited to 'src/libmain/shared.cc')
-rw-r--r-- | src/libmain/shared.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 2cf5b08df32d..ead3fc017ae2 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -180,7 +180,7 @@ static void initAndRun(int argc, char * * argv) return; } else if (arg == "--version") { - std::cout << format("%1% (Nix) %2%") % programId % NIX_VERSION << std::endl; + std::cout << format("%1% (Nix) %2%") % programId % nixVersion << std::endl; return; } else if (arg == "--keep-failed" || arg == "-K") |