aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/meson.build
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-04-27 13:24:39 -0600
committerQyriad <qyriad@qyriad.me>2024-04-29 01:19:21 +0000
commit2bd57d4d36f66de00fa4f791569056e58598e782 (patch)
treecf8e49b9f2a3c03068c13baa0ef7c43cfae344f6 /src/libcmd/meson.build
parentda677fce395fa86dbd5e8b5e3c0bef1712f9c3f1 (diff)
refactor some nix-env and profile code to libcmd
Notably, ProfileManifest and ProfileElement are useful generic profile management code, and nix profile is not the only place in the codebase where profiles are relevant. This commit is in preparation for fixing upgrade-nix's interaction with new-style profiles. Change-Id: Iefc8bbd34b4bc6012175cb3d6e6a8207973bc792
Diffstat (limited to 'src/libcmd/meson.build')
-rw-r--r--src/libcmd/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcmd/meson.build b/src/libcmd/meson.build
index 6b1b44d84..5a0e61503 100644
--- a/src/libcmd/meson.build
+++ b/src/libcmd/meson.build
@@ -1,6 +1,7 @@
libcmd_sources = files(
'built-path.cc',
'command-installable-value.cc',
+ 'cmd-profiles.cc',
'command.cc',
'common-eval-args.cc',
'editor-for.cc',
@@ -18,6 +19,7 @@ libcmd_sources = files(
libcmd_headers = files(
'built-path.hh',
'command-installable-value.hh',
+ 'cmd-profiles.hh',
'command.hh',
'common-eval-args.hh',
'editor-for.hh',