diff --git a/src/libflake/flakeref.cc b/src/libflake/flakeref.cc index b4a5c106e..a26f269c3 100644 --- a/src/libflake/flakeref.cc +++ b/src/libflake/flakeref.cc @@ -33,7 +33,7 @@ struct SourceAccessor; namespace fetchers { struct Settings; -} // namespace fetchers +} // namespace fetchers #if 0 // 'dir' path elements cannot start with a '.'. We also reject diff --git a/src/libflake/include/nix/flake/flake-primops.hh b/src/libflake/include/nix/flake/flake-primops.hh index a2a3d1612..b333e33d7 100644 --- a/src/libflake/include/nix/flake/flake-primops.hh +++ b/src/libflake/include/nix/flake/flake-primops.hh @@ -5,8 +5,8 @@ namespace nix { namespace flake { struct Settings; -} // namespace flake -} // namespace nix +} // namespace flake +} // namespace nix namespace nix::flake::primops { diff --git a/src/libflake/include/nix/flake/flakeref.hh b/src/libflake/include/nix/flake/flakeref.hh index 65a2dfed5..1af8c5afd 100644 --- a/src/libflake/include/nix/flake/flakeref.hh +++ b/src/libflake/include/nix/flake/flakeref.hh @@ -13,9 +13,10 @@ namespace nix { class Store; + namespace fetchers { struct Settings; -} // namespace fetchers +} // namespace fetchers typedef std::string FlakeId; diff --git a/src/libflake/lockfile.cc b/src/libflake/lockfile.cc index fbf17a383..d3dac19c5 100644 --- a/src/libflake/lockfile.cc +++ b/src/libflake/lockfile.cc @@ -43,7 +43,7 @@ namespace nix { class Store; -} // namespace nix +} // namespace nix namespace nix::flake {