From 049896ab892130d136c687d082bef509af4de10b Mon Sep 17 00:00:00 2001 From: Artturin Date: Sun, 16 Oct 2022 16:20:24 +0300 Subject: [PATCH] binlore: fix eval after nix pr #6530 error: getting status of '/execers.yall': No such file or directory `"${src}/execers.yall"` would work too --- pkgs/development/tools/analysis/binlore/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/binlore/default.nix b/pkgs/development/tools/analysis/binlore/default.nix index e6d529b0684a..54ea108b7d46 100644 --- a/pkgs/development/tools/analysis/binlore/default.nix +++ b/pkgs/development/tools/analysis/binlore/default.nix @@ -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" { } ''