Skip to content

eval gist contains tests.nixos-functions.nixos-test in change attrset #269

Open

Description

@Mic92

All evaluations now contain two attributes:

  • tests.nixos-functions.nixos-test
  • tests.nixos-functions.nixosTest-test

in its changed attrset

Building those will also try to build a kernel. nix-review currently try to build all packages in this file.

Activity

  1. Mic92 commented on Nov 15, 2018

    @Mic92
    MemberAuthor

    When evaluating the same nixpkgs revision with:

    $ nix-env -f path -qaP --xml --out-path --show-trace

    those attributes do not appear.

  2. Mic92 commented on Nov 15, 2018

    @Mic92
    MemberAuthor

    Ok. It also appears now in my own evaluation.

  3. Mic92 commented on Nov 15, 2018

    @Mic92
    MemberAuthor
  4. roberth commented on Nov 15, 2018

    @roberth
    Member

    I was assuming that these were simply not built on hydra and therefore show up here as 'new'. I do not know whether that's really the case.
    Another possibility is that it shows up often because it has a significant number of dependencies. That may not be the problem if "All evaluations now contain two attributes" is correct.
    I don't have time to investigate in the coming days.
    If it is unbearable, just comment the nixos-functions reference. Also, I'll look into making these test evaluation-only, because that provides 99% of the value anyway - making sure that the Nix glue is correct, not necessarily that NixOS builds correctly. We have nixos/release.nix for that, at its own pace.

  5. Mic92 commented on Nov 15, 2018

    @Mic92
    MemberAuthor

    Does it mean that nixos has now to be evaluated when searching packages?

  6. roberth commented on Nov 15, 2018

    @roberth
    Member

    Depends where you're searching.
    pkgs.tests: yes
    pkgs.nixosTests: yes
    pkgs.nixosTest: no (evaluates directly to a lambda without defaults, so no auto-call)
    pkgs.nixos: no (same)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions