Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
Todo List
Member dir
get rid of this, and stop using stat when we want lstat too.
Member errNo
Rename this to PosixError or similar. At this point Windows support is too WIP to justify the code churn, but if it is finished then a better identifier becomes moe worth it.
Member finish ()=0
Convert to proper struct
Member nix::AddCompletions::setType (Type type)=0
it should not be possible to change the type after it has been set.
Member nix::Args::parent
this would probably be better in the CommandClass. getRoot() could be an abstract method that peels off at most one layer before recuring.
Member nix::BuildResult::errorMsg
This should be an entire ErrorInfo object, not just a string, for richer information.
Member nix::Constant::type
we should use an enum for this.
Struct nix::ExecutablePath
rename, it is not just good for execuatable paths, but also other lists of paths.
Member nix::ExtraPathInfoValue::Value::extendedOutputsSpec
merge with DerivedPath's 'outputs' field?
Struct nix::GcStore
actually this is not so good because stores are views. Some views have only a no-op temp roots even though others to the same store allow triggering GC. For instance one can't add a root over ssh, but that doesn't prevent someone from gc-ing that store accesed via SSH locally).
Member nix::Generation::path
Use StorePath instead of Path?
Struct nix::Goal::Co

Allocate explicitly on stack since HALO thing doesn't really work, specifically, there's no way to uphold the requirements when trying to do tail-calls without using a trampoline AFAICT.

Support returning data natively

Member nix::HashResult
Convert to proper struct
Member nix::HttpBinaryCacheStore::isTrustedClient () override
try to expose our HTTP authentication status.
Member nix::Installable::getStorePath ()
should we move this to InstallableDerivedPath? It is only supposed to work there anyways. Can always downcast.
Member nix::LegacySSHStore::buildDerivationAsync (const StorePath &drvPath, const BasicDerivation &drv, const ServeProto::BuildOptions &options)
Use C++23 std::move_only_function.
Member nix::LocalFSStoreConfig::LocalFSStoreConfig (PathView path, const Params &params)
Make this less error-prone with new store settings system.
Member nix::LookupPath::Path::s
Maybe change this to std::variant<SourcePath, URL>.
Member nix::LookupPath::Prefix::s
Should we normalize this when constructing a LookupPath::Prefix?
Member nix::Nothing
currently unused, but could be revived if we can evaluate derivations in-memory.
Member nix::operator<< (Sink &sink, ServeProto::Command op)
Switch to using ServeProto::Serialize instead probably. But this was not done at this time so there would be less churn.
Member nix::operator<< (std::ostream &s, ServeProto::Command op)
Perhaps render known opcodes more nicely.
Member nix::operator<< (Sink &sink, WorkerProto::Op op)
Switch to using WorkerProto::Serialise instead probably. But this was not done at this time so there would be less churn.
Member nix::operator<< (std::ostream &s, WorkerProto::Op op)
Perhaps render known opcodes more nicely.
Member nix::PathsNG
drop NG suffix and replace the ones in types.hh.
Struct nix::PathViewNG
drop NG suffix and replace the one in types.hh.
Class nix::RemoteStore
RemoteStore is a misnomer - should be something like DaemonStore.
Member nix::ServeProto::Version
Convert to struct with separate major vs minor fields.
Member nix::Store::addToStoreFromDump (Source &dump, std::string_view name, FileSerialisationMethod dumpMethod=FileSerialisationMethod::NixArchive, ContentAddressMethod hashMethod=ContentAddressMethod::Raw::NixArchive, HashAlgorithm hashAlgo=HashAlgorithm::SHA256, const StorePathSet &references=StorePathSet(), RepairFlag repair=NoRepair)=0
remove?
Member nix::Store::getUri ()=0
move to StoreConfig one we store enough information in those to recover the scheme and authority in all cases.
Member nix::Store::unsupported (const std::string &op)
Using this should be a last resort. It is better to make the method "virtual pure" and/or move it to a subclass.
Member nix::StoreDirConfig::parseStorePathSet (const PathSet &paths) const
remove
Class nix::SysError
Rename this to PosixError or similar. At this point Windows support is too WIP to justify the code churn, but if it is finished then a better identifier becomes moe worth it.
Member nix::ThreadPool::work_t
use std::packaged_task?
Member nix::UnkeyedValidPathInfo::id
Remove, layer violation
Member nix::UnkeyedValidPathInfo::narHash
document this
Member nix::UnkeyedValidPathInfo::operator<=> (const UnkeyedValidPathInfo &) const noexcept
return std::strong_ordering once id is removed
Member nix::WorkerProto::Version
Convert to struct with separate major vs minor fields.
Member s

return std::string_view.

Should we normalize this when constructing a LookupPath::Prefix?

Maybe change this to std::variant<SourcePath, URL>.

Member S_ISLNK (m)
get rid of this, and stop using stat when we want lstat too.
Member string_view

drop NG suffix and replace the ones in types.hh.

drop NG suffix and replace the one in types.hh.

Member type
we should use an enum for this.