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 in
{ {
inherit pkgs; inherit pkgs;
tests = import ./tests { inherit pkgs; };
shell = pkgs.mkShell { shell = pkgs.mkShell {
name = "binary-cache"; name = "binary-cache";
buildInputs = check.enabledPackages; buildInputs = check.enabledPackages;

View file

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