mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixosTests.dep-scan: reuse src for test
Use the dep-scan src for the package test as the closure is already present in the store. This should marginally speed up the test plus reduces maintenance overhead of the beta tag were to ever disappear. Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
84f2bb1da9
commit
eb96169435
1 changed files with 1 additions and 6 deletions
|
|
@ -22,12 +22,7 @@
|
|||
|
||||
# code repo to scan for vulnerabilites, could be anything
|
||||
# I just happened to pick the source of the package
|
||||
environment.etc."dep-scan-source".source = pkgs.fetchFromGitHub {
|
||||
owner = "owasp-dep-scan";
|
||||
repo = "dep-scan";
|
||||
tag = "v6.0.0b3";
|
||||
hash = "sha256-GdrFsECcBZ2J47ojM33flqOtrY3avchGpsZk6pt8Aks=";
|
||||
};
|
||||
environment.etc."dep-scan-source".source = pkgs.dep-scan.src;
|
||||
|
||||
# we need to download the database before the vm starts, otherwise
|
||||
# the program will try to download them at runtime.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue