forked from lix-project/lix
Fix build
This commit is contained in:
parent
f1bdeac986
commit
7873cfb18d
3 changed files with 6 additions and 6 deletions
|
@ -43,4 +43,4 @@ struct CmdBuild : StoreCommand, MixDryRun, MixInstallables
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static RegisterCommand r1(make_ref<Command, CmdBuild>());
|
static RegisterCommand r1(make_ref<CmdBuild>());
|
||||||
|
|
|
@ -59,7 +59,7 @@ bool MultiCommand::processArgs(const Strings & args, bool finish)
|
||||||
|
|
||||||
void StoreCommand::run()
|
void StoreCommand::run()
|
||||||
{
|
{
|
||||||
run(openStore(reserveSpace));
|
run(openStore());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,8 +45,8 @@ struct CmdHash : Command
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static RegisterCommand r1(make_ref<Command, CmdHash>(CmdHash::mFile));
|
static RegisterCommand r1(make_ref<CmdHash>(CmdHash::mFile));
|
||||||
static RegisterCommand r2(make_ref<Command, CmdHash>(CmdHash::mPath));
|
static RegisterCommand r2(make_ref<CmdHash>(CmdHash::mPath));
|
||||||
|
|
||||||
struct CmdToBase : Command
|
struct CmdToBase : Command
|
||||||
{
|
{
|
||||||
|
@ -82,8 +82,8 @@ struct CmdToBase : Command
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static RegisterCommand r3(make_ref<Command, CmdToBase>(false));
|
static RegisterCommand r3(make_ref<CmdToBase>(false));
|
||||||
static RegisterCommand r4(make_ref<Command, CmdToBase>(true));
|
static RegisterCommand r4(make_ref<CmdToBase>(true));
|
||||||
|
|
||||||
/* Legacy nix-hash command. */
|
/* Legacy nix-hash command. */
|
||||||
static int compatNixHash(int argc, char * * argv)
|
static int compatNixHash(int argc, char * * argv)
|
||||||
|
|
Loading…
Reference in a new issue