Conversation
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
|
Why is this not working? |
Maybe I don't understand the question, but I think I've explained that in the diff, and I've added extra context in the PR description. |
|
I was talking about the ofborg red status. |
DanielSidhion
left a comment
There was a problem hiding this comment.
LGTM on the docs changes. Idk what's the reasoning behind the ofborg red status though.
There was a problem hiding this comment.
The ofborg failure could be fixed by moving this warning into the function body under test:. Non ideal that this is necessary though..
There was a problem hiding this comment.
Never mind, looks like that doesn't work either..
Thinking about this again, I believe we need to not expose the attribute at all if config.allowAliases = false (which then also prevents uses in Nixpkgs).
Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com>
This way ofborg doesn't see it and fail. Unfortunately, it will cause more warnings than it otherwise would, if multiple tests are evaluated in one go.
c1dad81 to
73cdcdd
Compare
73cdcdd to
c44c917
Compare
`nixosTest` is to-be-depercated, see here:
NixOS/nixpkgs#293891
`nixosTest` is to-be-depercated, see here:
NixOS/nixpkgs#293891
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/nixostest-with-flake-configurations/11542/8 |
Description of changes
It's time to migrate.
runNixOSTestis a better alternative, that supports modules properly, as well as running on macOS.At this point, the existence of
nixosTestleads to uncertainty, and its users are missing out on the new features.🚀
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.