* Use $(libexecdir) to find find-runtime-roots.pl.
This commit is contained in:
parent
410760c5ab
commit
a4273156c4
5 changed files with 8 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ static void findRoots(const Path & path, bool recurseSymlinks,
|
|||
static void addAdditionalRoots(PathSet & roots)
|
||||
{
|
||||
Path rootFinder = getEnv("NIX_ROOT_FINDER",
|
||||
"/nix/libexec/nix/find-runtime-roots.pl"); /* !!! */
|
||||
nixLibexecDir + "/nix/find-runtime-roots.pl");
|
||||
|
||||
if (rootFinder.empty()) return;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ string nixLogDir = "/UNINIT";
|
|||
string nixStateDir = "/UNINIT";
|
||||
string nixDBPath = "/UNINIT";
|
||||
string nixConfDir = "/UNINIT";
|
||||
string nixLibexecDir = "/UNINIT";
|
||||
|
||||
bool keepFailed = false;
|
||||
bool keepGoing = false;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,10 @@ extern string nixDBPath;
|
|||
stored. */
|
||||
extern string nixConfDir;
|
||||
|
||||
/* nixLibexecDir is the directory where internal helper programs are
|
||||
stored. */
|
||||
extern string nixLibexecDir;
|
||||
|
||||
|
||||
|
||||
/* Misc. global flags. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue