mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
vulnix integration
This commit is contained in:
parent
758438382d
commit
436855d8c1
11 changed files with 172 additions and 2 deletions
|
|
@ -65,6 +65,15 @@
|
|||
buildInputs = old.buildInputs or [ ] ++ [ _prev.setuptools ];
|
||||
}
|
||||
);
|
||||
|
||||
lego-monitoring = _prev.lego-monitoring.overrideAttrs (
|
||||
old: {
|
||||
postPatch = ''
|
||||
substituteInPlace src/lego_monitoring/core/const.py \
|
||||
--replace-fail 'VULNIX_PATH: str = ...' 'VULNIX_PATH = "${lib.getExe pkgs.vulnix}"'
|
||||
'';
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
# This example is only using x86_64-linux
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue