feat(scripts/): use our own colmena

In the future, we should not have to do this.

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-12-07 15:30:42 +01:00
parent 344cc26d8e
commit 4fabadccb4
2 changed files with 7 additions and 3 deletions

View file

@ -89,7 +89,7 @@ let
) (builtins.readDir ./workflows);
};
scripts = import ./scripts { inherit pkgs; };
scripts = import ./scripts { inherit pkgs sources; };
in
{

View file

@ -1,11 +1,15 @@
{ pkgs }:
{ sources, pkgs }:
let
# TODO: move this into a proper overlay of `pkgs` so that we don't need to track this for every and any package.
colmena = pkgs.callPackage ../lib/colmena {
colmena = pkgs.callPackage "${sources.colmena}/package.nix" { };
};
inherit (pkgs.lib) mapAttrs;
inherit (pkgs)
writeShellApplication
colmena
jq
nvd
;