mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-16 03:06:17 +02:00
f4ab297b31
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
29 lines
612 B
C++
29 lines
612 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "installables.hh"
|
|
|
|
namespace nix {
|
|
|
|
struct InstallableDerivedPath : Installable
|
|
{
|
|
ref<Store> store;
|
|
DerivedPath derivedPath;
|
|
|
|
InstallableDerivedPath(ref<Store> store, DerivedPath && derivedPath)
|
|
: store(store), derivedPath(std::move(derivedPath))
|
|
{ }
|
|
|
|
std::string what() const override;
|
|
|
|
DerivedPathsWithInfo toDerivedPaths() override;
|
|
|
|
std::optional<StorePath> getStorePath() override;
|
|
|
|
static InstallableDerivedPath parse(
|
|
ref<Store> store,
|
|
std::string_view prefix,
|
|
ExtendedOutputsSpec extendedOutputsSpec);
|
|
};
|
|
|
|
}
|