Skip to content

Please, form a group for tests that use network #1837

@Anton-Latukha

Description

@Anton-Latukha

Accepting the #1135 (comment) greatly. That thread further given a glimpse of resolution possible. I have a good idea how to solve it.


Premice:

Nixpkgs escapes testing the package in its ecosystem because of #1135 issue, since Nix builds by default do not permit the network use.


Nixpkgs way:

Maybe it is possible the other way around, to permit Nixpkgs build to access to network. I remember reading/participating in such discussions, but IDK or forgot does allowing network to the test in Nixpkgs is possible. AFAIK that is possible only with overloading Nix configuration, turned off sandboxing. Which in turn is AFAIK not allowed or possible in Nixpkgs. So let us think further.


DHall way:

The pass of least resistance and easy way - is to separate networking tests into a separate test group.

That would allow the normal testing in Nixpkgs, then Nixpkgs builds can use the default or overloaded test group that excludes network tests.
The bonus that the DHall project would get:

  • proper clean project package in Nixpkgs,
  • "integration" testing of it in Nixpkgs ecosystem,
  • which would also make definite that DHall in Nix ecosystem would always work properly,
  • and also would enable a better self-maintenance of the package in Nixpkgs by the community.

This idea seems easy to do and should satisfy everyone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ZuriHacbuildBuilding, testing, installing, packaging, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions