mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 22:46:16 +02:00
14 lines
281 B
C++
14 lines
281 B
C++
#include "tree-info.hh"
|
|
#include "store-api.hh"
|
|
|
|
#include <nlohmann/json.hpp>
|
|
|
|
namespace nix::fetchers {
|
|
|
|
StorePath TreeInfo::computeStorePath(Store & store) const
|
|
{
|
|
assert(narHash);
|
|
return store.makeFixedOutputPath(FileIngestionMethod::Recursive, narHash, "source");
|
|
}
|
|
|
|
}
|