1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-04 16:10:59 +01:00

Merge pull request #11089 from NixOS/warnings-includes

Fix warnings and optimize includes
This commit is contained in:
John Ericson 2024-07-12 10:29:26 -04:00 committed by GitHub
commit 337a5a23b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
46 changed files with 59 additions and 85 deletions

View file

@ -11,6 +11,8 @@
#include <memory>
#include <nlohmann/json_fwd.hpp>
#include "ref.hh"
namespace nix { class Store; class StorePath; struct SourceAccessor; }
namespace nix::fetchers {

View file

@ -2,12 +2,10 @@
#include "fetchers.hh"
#include "cache.hh"
#include "filetransfer.hh"
#include "globals.hh"
#include "store-api.hh"
#include "archive.hh"
#include "tarfile.hh"
#include "types.hh"
#include "split.hh"
#include "store-path-accessor.hh"
#include "store-api.hh"
#include "git-utils.hh"

View file

@ -1,11 +1,12 @@
#pragma once
#include "types.hh"
#include "path.hh"
#include "hash.hh"
#include <optional>
#include "hash.hh"
#include "path.hh"
#include "ref.hh"
#include "types.hh"
namespace nix {
class Store;
struct SourceAccessor;