binlore: fix eval after nix pr #6530

error: getting status of '/execers.yall': No such file or directory

`"${src}/execers.yall"` would work too
This commit is contained in:
Artturin 2022-10-16 16:20:24 +03:00
parent e569855125
commit 049896ab89

View File

@ -45,11 +45,11 @@ let
# TODO: feeling really uninspired on the API
loreDef = {
# YARA rule file
rules = (src + /execers.yar);
rules = (src + "/execers.yar");
# output filenames; "types" of lore
types = [ "execers" "wrappers" ];
# shell rule callbacks; see github.com/abathur/yallback
yallback = (src + /execers.yall);
yallback = (src + "/execers.yall");
# TODO:
# - echo for debug, can be removed at some point
# - I really just wanted to put the bit after the pipe
@ -88,7 +88,7 @@ let
fi
'';
};
overrides = (src + /overrides);
overrides = (src + "/overrides");
in rec {
collect = { lore ? loreDef, drvs, strip ? [ ] }: (runCommand "more-binlore" { } ''