nixpkgs/pkgs/test/nixpkgs-check-by-name/src
Silvan Mosberger aa7dd0b596 tests.nixpkgs-check-by-name: Improve lib path handling in tests
nix-build failed because the tests assume to run in a CWD equal to the
project root, which is not the case in the derivation build.

This commit fixes it by not using hacky `..` references to paths,
and instead uses NIX_PATH for all implicit Nix testing path
dependencies.

Also the root of the `lib` path gets passed in from the `default.nix`
file, so all the relative path handling is done by Nix during evaluation
already, and in the Nix store when possible.
2024-01-15 18:34:16 +01:00
..
eval.nix tests.nixpkgs-check-by-name: Sort the eval validation results 2024-01-10 19:29:27 +01:00
eval.rs tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
main.rs tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
nixpkgs_problem.rs tests.nixpkgs-check-by-name: Enforce pkgs/by-name for new packages 2024-01-10 19:29:26 +01:00
ratchet.rs tests.nixpkgs-check-by-name: Enforce pkgs/by-name for new packages 2024-01-10 19:29:26 +01:00
references.rs tests.nixpkgs-check-by-name: .context -> .with_context 2024-01-09 19:39:50 +01:00
structure.rs tests.nixpkgs-check-by-name: Custom Validation type and improvements 2023-10-24 19:58:52 +02:00
utils.rs tests.nixpkgs-check-by-name: .context -> .with_context 2024-01-09 19:39:50 +01:00
validation.rs tests.nixpkgs-check-by-name: Introduce result_map 2023-12-14 03:21:41 +01:00