From d6a7fb5f6a31c64c020e80aaf26ca7aa43fea0f5 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Tue, 3 Dec 2024 20:38:41 +0100 Subject: [PATCH] cli: remove duplicated declarations Change-Id: I78c6666cea8b6604a4fae9cb047662571bd6f99b --- lix/legacy/nix-env.cc | 1 + lix/legacy/user-env.hh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lix/legacy/nix-env.cc b/lix/legacy/nix-env.cc index fd0cd5a15..4061c385e 100644 --- a/lix/legacy/nix-env.cc +++ b/lix/legacy/nix-env.cc @@ -1,3 +1,4 @@ +#include "lix/libcmd/cmd-profiles.hh" #include "lix/libexpr/attr-path.hh" #include "lix/libcmd/common-eval-args.hh" #include "lix/libstore/derivations.hh" diff --git a/lix/legacy/user-env.hh b/lix/legacy/user-env.hh index 1177c8af9..ff62e570f 100644 --- a/lix/legacy/user-env.hh +++ b/lix/legacy/user-env.hh @@ -5,8 +5,6 @@ namespace nix { -DrvInfos queryInstalled(EvalState & state, const Path & userEnv); - bool createUserEnv(EvalState & state, DrvInfos & elems, const Path & profile, bool keepDerivations, const std::string & lockToken);