aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorTom Hubrecht <github@mail.hubrecht.ovh>2024-05-28 16:27:48 +0200
committerTom Hubrecht <github@mail.hubrecht.ovh>2024-05-29 11:42:42 +0200
commitf0eb650ee8a0eb5244c15fab3b152a1f70e1506e (patch)
tree4a6a570b1b51d1b0af57fbb4c2c5503a010b78c4 /src/libutil
parentd73c40ff3d74e9b1bac24c104fdf7738df3c3029 (diff)
util.hh: Move nativeSystem to local-derivation-goal.cc
Change-Id: I74565fbfd3aeedef8f50465808fac712b84e47ad
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/error.cc2
-rw-r--r--src/libutil/util.hh5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc
index 1a294bf08..2a7fd3d0e 100644
--- a/src/libutil/error.cc
+++ b/src/libutil/error.cc
@@ -10,8 +10,6 @@
namespace nix {
-const std::string nativeSystem = SYSTEM;
-
void BaseError::addTrace(std::shared_ptr<Pos> && e, HintFmt hint)
{
err.traces.push_front(Trace { .pos = std::move(e), .hint = hint });
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 4e20550a7..1066f212a 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -33,11 +33,6 @@ namespace nix {
struct Sink;
struct Source;
-/**
- * The system for which Nix is compiled.
- */
-extern const std::string nativeSystem;
-