about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/archive.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libutil/archive.hh')
-rw-r--r--third_party/nix/src/libutil/archive.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libutil/archive.hh b/third_party/nix/src/libutil/archive.hh
index 194d31d078c4..396627878541 100644
--- a/third_party/nix/src/libutil/archive.hh
+++ b/third_party/nix/src/libutil/archive.hh
@@ -72,6 +72,6 @@ void restorePath(const Path& path, Source& source);
 /* Read a NAR from 'source' and write it to 'sink'. */
 void copyNAR(Source& source, Sink& sink);
 
-extern const std::string narVersionMagic1;
+constexpr std::string_view kNarVersionMagic1 = "nix-archive-1";
 
 }  // namespace nix