E.g. 'hydra-eval-jobs ~/Dev/patchelf' is enough to evaluate patchelf - no need to set up a $NIX_PATH, pass arguments, etc.
JDPOD3YKXCM5Q5WCLYJJU4MZ4M7I67HXHZZPDN6ULJGQZEFAJUCQC
HYHLT6JDDZL6RBIS5PDVVQ53EHOQKKSWLAIEOVA3NYFKE4TASZ5QC
STZE4KKRL2AGCPP2FOMBNZHJTRTKJQZSEKALWEV6FK5BII6H7EDAC
ZVSHXE3KY43J5BBDGERORR2FAVDG4ARANUUSGIYDHUN767SQ4GAQC
4N5APGRGHTKFMEJ7THSJX6TSYYAP3BUZQG73AJBKCQLXOOEHPATQC
7GKAIP3VYKM4MGGHOGBB3DR2M6B6SENBR5IZQVJYO65AWT4BW7LAC
XRX2WNKZLKKPPBDBBXAJDD5QYKKBAC4OGTUD7R23MBWUQCBAVT6QC
5MP35ORVVILU3GXYITYXD754QFZCOZ3X45QO54K2GW5UKNHX66SAC
BGMBEXS6DE4ITS76GOC2ELLAKF7NDCQFUIN3KFDLCZGQHTDQRLKAC
findJobs(state, json, autoArgs, v, "");
if (myArgs.flake) {
FlakeRef flakeRef(myArgs.releaseExpr);
auto vFlake = state.allocValue();
makeFlakeValue(state, flakeRef, AllowRegistryAtTop, *vFlake);
auto vProvides = (*vFlake->attrs->get(state.symbols.create("provides")))->value;
state.forceValue(*vProvides);
auto aHydraJobs = vProvides->attrs->get(state.symbols.create("hydraJobs"));
if (!aHydraJobs)
throw Error("flake '%s' does not provide any Hydra jobs", flakeRef);
v = *(*aHydraJobs)->value;
} else {
state.evalFile(lookupFileArg(state, myArgs.releaseExpr), v);
}