From 7b30293d389ea75ee24ec1f2a4a4187f175757ab Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 19 Jul 2023 15:50:25 -0400 Subject: [PATCH] Tighten `#include`s: `DerivedPath` doesn't care about `Realisation` --- src/libcmd/built-path.hh | 1 + src/libstore/derived-path.hh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcmd/built-path.hh b/src/libcmd/built-path.hh index c563a46e9..744e8090b 100644 --- a/src/libcmd/built-path.hh +++ b/src/libcmd/built-path.hh @@ -1,4 +1,5 @@ #include "derived-path.hh" +#include "realisation.hh" namespace nix { diff --git a/src/libstore/derived-path.hh b/src/libstore/derived-path.hh index 6ea80c92e..7a4261ce0 100644 --- a/src/libstore/derived-path.hh +++ b/src/libstore/derived-path.hh @@ -3,7 +3,6 @@ #include "util.hh" #include "path.hh" -#include "realisation.hh" #include "outputs-spec.hh" #include "comparator.hh"