feat: Add tests to root default.nix
This commit is contained in:
parent
8da219ee1e
commit
e810527d5e
|
@ -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;
|
||||||
|
|
|
@ -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 { };
|
||||||
|
|
Loading…
Reference in a new issue