feat: Add tests to root default.nix

This commit is contained in:
sinavir 2024-07-18 22:25:44 +02:00
parent 8da219ee1e
commit e810527d5e
2 changed files with 6 additions and 5 deletions

View file

@ -26,6 +26,7 @@ let
in
{
inherit pkgs;
tests = import ./tests { inherit pkgs; };
shell = pkgs.mkShell {
name = "binary-cache";
buildInputs = check.enabledPackages;

View file

@ -1,8 +1,8 @@
let
sources = import ../npins;
inherit (sources) nixpkgs;
pkgs = import nixpkgs { overlays = [ (import ../pkgs/overlay.nix) ]; };
in
{
sources ? import ../npins,
nixpkgs ? sources.nixpkgs,
pkgs ? import nixpkgs { overlays = [ (import ../pkgs/overlay.nix) ]; },
}:
{
basic = pkgs.callPackage ./basic.nix { };
ingest = pkgs.callPackage ./ingest.nix { };