nixpkgs/lib/tests
Adam Joseph 00a749a3a6 lib/system: move toLosslessStringMaybe into lib/tests
toLosslessStringMaybe is not used by anything other than lib/tests,
so it can be private to that file.

I don't think this function was terribly well thought-through.  If
people start using it, we will become permanently dependent on the
ability to test platforms for equality.  It also makes the
elaboration process more fragile, because it encourages code outside
of nixpkgs to become sensitive to the minute details of how
elaboration happens.
2023-06-22 00:18:33 -07:00
..
modules lib/tests: add mkPackageOption tests 2023-05-20 18:23:41 +02:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
filesystem.sh lib/tests/filesystem.sh: Check success and failure separately 2023-06-01 18:07:33 +02:00
maintainer-module.nix maintainers: make email optional 2023-01-27 18:04:20 +01:00
maintainers.nix maintainers: clarify what fields are required 2023-01-27 18:05:28 +01:00
misc.nix lib.list.findFirst: Make lazier 2023-06-06 17:17:32 +02:00
modules.sh lib/tests: Fix when run with Nix 2.3 2023-06-01 18:07:33 +02:00
release.nix lib/tests/release.nix: Run systems tests on OfBorg 2023-06-13 10:43:12 +02:00
sources.sh lib/tests: Fix when run with Nix 2.3 2023-06-01 18:07:33 +02:00
systems.nix lib/system: move toLosslessStringMaybe into lib/tests 2023-06-22 00:18:33 -07:00
teams.nix maintainer teams: check them in lib tests 2022-06-20 22:20:26 +02:00
test-to-plist-expected.plist lib.toPlist: keep test output in external files for their tab indents 2023-03-27 19:25:52 +02:00