fix when imported

This commit is contained in:
tristan 2024-01-02 09:16:52 +00:00
parent 277fd1225c
commit 249bd9cda4
3 changed files with 6 additions and 9 deletions

View file

@ -6,6 +6,5 @@
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;
} }

View file

@ -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;

View file

@ -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; });
} }