fix when imported
This commit is contained in:
parent
277fd1225c
commit
249bd9cda4
|
@ -1,11 +1,10 @@
|
||||||
{
|
{
|
||||||
description = "A testing library for nix";
|
description = "A testing library for nix";
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
testing = import ./testing/. { inherit pkgs; };
|
testing = import ./testing/. { inherit pkgs; };
|
||||||
in
|
in testing;
|
||||||
testing;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> { } }: {
|
||||||
{
|
|
||||||
run = import ./run.nix pkgs;
|
run = import ./run.nix pkgs;
|
||||||
it = import ./it.nix;
|
it = import ./it.nix;
|
||||||
import = import ./import.nix;
|
import = import ./import.nix;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
path:
|
path:
|
||||||
builtins.trace ("testing " + builtins.baseNameOf path)
|
let it = import ./it.nix;
|
||||||
|
in builtins.trace ("testing " + builtins.baseNameOf path) {
|
||||||
{
|
|
||||||
inherit path;
|
inherit path;
|
||||||
results = (import path);
|
results = (import path { inherit it; });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue