Skip to content

stack overflow (possible infinite recursion) #283

@xieby1

Description

@xieby1

Minimal test case test.nix:

let
  pkgs = import <nixpkgs> {};
in {
  test-hello = {
    expr = pkgs.hello;
    expected = pkgs.hello;
  };
}

nix-unit test.nix throws error:

...
evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
evaluation warning: Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail.
error: stack overflow (possible infinite recursion)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions