Skip to content

Commit

Permalink
trivial-builders/test/references.nix: fix eval
Browse files Browse the repository at this point in the history
The command

```
nix-build -A tests.trivial-builders.references --show-trace
```

fails eval with

```
in job ‘nixpkgs.tests.trivial-builders.references’:
error: The option `meta.description' does not exist. Definition values:
       - In `makeTest parameters': "Run the Nixpkgs trivial builders tests"
```

because `meta.description` and `meta.license` are not valid for
`nixosTest`s (they are valid for `mkDerivation` of course).

This has been causing Hydra eval failures:

  https://hydra.nixos.org/jobset/nixos/pr-209870-gcc-external-bootstrap#tabs-errors

Let's fix eval by removing these attributes.
  • Loading branch information
Adam Joseph committed Mar 18, 2023
1 parent f012515 commit 1a657f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkgs/build-support/trivial-builders/test/references.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ testers.nixosTest {
""")
'';
meta = {
license = lib.licenses.mit; # nixpkgs license
maintainers = with lib.maintainers; [
roberth
];
description = "Run the Nixpkgs trivial builders tests";
};
}

0 comments on commit 1a657f1

Please sign in to comment.