aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/tree-info.cc
blob: 5788e94a197727ba2ddd457d9fcd2c4b9a76dd99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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(true, narHash, "source");
}

}