Robert Hensing
Robert Hensing
Please read up on [the changes in `writing-nixos-tests.section.md`](https://github.com/NixOS/nixpkgs/pull/191540/files#diff-53201fd9a776413fa35cb167cab111999bafe5580f579c80eaa850678a7b4599) - Arguments/attributes are now options - An implicit consequence of those changes is that `pkgs.nixosTest` isn't quite future proof. Its argument should...
Also significant is that you'll be able to link to the options reference.
> Also significant is that you'll be able to link to the options reference. https://github.com/NixOS/nixpkgs/pull/193498 changes the prefix `#opt-` to `#test-opt-`, fyi.
Correct. I didn't think about which branch you'd target, but indeed these docs will be a 22.11 feature. > I don't care about flakes until they are officially introduced. That's...
> @roberth why is pkgs.nixosTest not future proof? to me it rather seem to be not backward compatible, the option `name` needs to be defined. There's more to it than...
I think we should add a new function with the intent to replace `nixosTest`, giving the same convenience, but it's non-trivial because I also want to make sure that the...
> > passing arguments to the test > > you mean something like this https://github.com/NixOS/nixpkgs/blob/16c5f5534dff5fe09cf53a1f08d6d94ef5eadb19/nixos/tests/sddm.nix#L25 ? That's a different function. I was talking about the `x` in `nixosTest x`. It...
To me, linking the source is like giving up. This is a technical non-solution to the social problem of contributors and maintainers not thinking about communicating their work. Linking all...
Thank you for addressing most of my concerns. I will remain skeptical of technical solutions. > but we need something to work with while on the way there. Don't underestimate...
> the Haskell community In Haskell, this is easily achievable. In Nix land, we don't by default have a namespace where our function definitions map to. Nonetheless `nixdoc` [can](https://github.com/nix-community/nixdoc/pull/8/files) already...