Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
command.hh File Reference
#include "installable-value.hh"
#include "args.hh"
#include "common-eval-args.hh"
#include "path.hh"
#include "flake/lockfile.hh"
#include <optional>

Go to the source code of this file.

Classes

struct  nix::NixMultiCommand
 
struct  nix::StoreCommand
 
struct  nix::CopyCommand
 
struct  nix::EvalCommand
 
struct  nix::MixFlakeOptions
 
struct  nix::SourceExprCommand
 
struct  nix::MixReadOnlyOption
 
struct  nix::RawInstallablesCommand
 
struct  nix::InstallablesCommand
 
struct  nix::InstallableCommand
 
struct  nix::MixOperateOnOptions
 
struct  nix::BuiltPathsCommand
 
struct  nix::StorePathsCommand
 
struct  nix::StorePathCommand
 
struct  nix::RegisterCommand
 
struct  nix::MixProfile
 
struct  nix::MixDefaultProfile
 
struct  nix::MixEnvironment
 

Functions

void nix::completeFlakeInputPath (AddCompletions &completions, ref< EvalState > evalState, const std::vector< FlakeRef > &flakeRefs, std::string_view prefix)
 
void nix::completeFlakeRef (AddCompletions &completions, ref< Store > store, std::string_view prefix)
 
void nix::completeFlakeRefWithFragment (AddCompletions &completions, ref< EvalState > evalState, flake::LockFlags lockFlags, Strings attrPathPrefixes, const Strings &defaultFlakeAttrPaths, std::string_view prefix)
 
std::string nix::showVersions (const std::set< std::string > &versions)
 
void nix::printClosureDiff (ref< Store > store, const StorePath &beforePath, const StorePath &afterPath, std::string_view indent)
 
void nix::createOutLinks (const std::filesystem::path &outLink, const BuiltPaths &buildables, LocalFSStore &store)
 

Variables

std::string nix::programPath
 
char ** nix::savedArgv
 

Function Documentation

◆ createOutLinks()

void nix::createOutLinks ( const std::filesystem::path & outLink,
const BuiltPaths & buildables,
LocalFSStore & store )

Create symlinks prefixed by outLink to the store paths in buildables.