Files
lix/lix/libexpr/extra-primops.hh
T
eldritch horrorsandjade b0d7a81613 fix tooling after include reorganization
clangd broke because it can't look through symlinks. compile_commands
manipulation does not fix it, clangd configuration does not fix it, a
vfs overlay does not fix it, and while a combination of those can fix
it with a bind mount in place that's just too cursed to even consider

clangd bug: https://github.com/llvm/llvm-project/issues/116877

Change-Id: I8e3e8489548eb3a7aa65ac9d12a5ec8abf814aec
2024-11-19 22:55:32 +00:00

30 lines
1.2 KiB
C++

#pragma once
///@file
#include "pos-idx.hh"
namespace nix {
class EvalState;
struct Value;
void prim_addDrvOutputDependencies(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_fetchClosure(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_fetchGit(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_fetchTarball(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_fetchurl(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_fromTOML(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_getContext(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_hasContext(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_unsafeDiscardOutputDependency(EvalState & state, const PosIdx pos, Value * * args, Value & v);
namespace flake {
void prim_flakeRefToString(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_getFlake(EvalState & state, const PosIdx pos, Value * * args, Value & v);
void prim_parseFlakeRef(EvalState & state, const PosIdx pos, Value * * args, Value & v);
}
}