aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorTom Hubrecht <github@mail.hubrecht.ovh>2024-05-28 15:40:03 +0200
committerTom Hubrecht <github@mail.hubrecht.ovh>2024-05-29 11:01:34 +0200
commitf79ee66646f66e5117583bcf9a579b7f538ca8bb (patch)
tree024548ec910b030c07b4d38b253b6f68a9a4fa17 /src/libstore
parentb91055112035c256fffd44d77f746b977cfdf3ca (diff)
util.{hh,cc}: Split out users.{hh,cc}
Change-Id: I1bd92479a2cb7e5c2c2e1541b80474adb05ea0df
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/globals.cc2
-rw-r--r--src/libstore/nar-info-disk-cache.cc1
-rw-r--r--src/libstore/profiles.cc2
-rw-r--r--src/libstore/store-api.cc1
4 files changed, 4 insertions, 2 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index 30fd4e9e3..8ef25c469 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -1,6 +1,6 @@
#include "environment-variables.hh"
#include "globals.hh"
-#include "util.hh"
+#include "users.hh"
#include "archive.hh"
#include "args.hh"
#include "abstract-setting-to-json.hh"
diff --git a/src/libstore/nar-info-disk-cache.cc b/src/libstore/nar-info-disk-cache.cc
index c7176d30f..0413abbf1 100644
--- a/src/libstore/nar-info-disk-cache.cc
+++ b/src/libstore/nar-info-disk-cache.cc
@@ -2,6 +2,7 @@
#include "sync.hh"
#include "sqlite.hh"
#include "globals.hh"
+#include "users.hh"
#include <sqlite3.h>
#include <nlohmann/json.hpp>
diff --git a/src/libstore/profiles.cc b/src/libstore/profiles.cc
index 239047dd6..e8b88693d 100644
--- a/src/libstore/profiles.cc
+++ b/src/libstore/profiles.cc
@@ -1,7 +1,7 @@
#include "profiles.hh"
#include "store-api.hh"
#include "local-fs-store.hh"
-#include "util.hh"
+#include "users.hh"
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index ed3566f5e..c5631dfd8 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -14,6 +14,7 @@
// FIXME this should not be here, see TODO below on
// `addMultipleToStore`.
#include "worker-protocol.hh"
+#include "users.hh"
#include <nlohmann/json.hpp>
#include <regex>