nixpkgs/pkgs/test/nixpkgs-check-by-name/tests
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
..
broken-autocall tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
empty-base tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
incorrect-shard tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
internalCallPackage tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
invalid-package-name tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
invalid-shard-name tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
missing-package-nix tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
move-to-non-by-name tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
new-package-non-by-name tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
no-by-name tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
no-eval tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
non-attrs tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
non-derivation tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
one-letter tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
only-callPackage-derivations tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-different-file tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-empty-arg tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-empty-arg-gradual tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-no-call-package tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-no-file tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
override-success tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
package-dir-is-file tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
package-nix-dir tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-absolute tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-escape tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-nix-path tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-parse-failure tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-path-subexpr tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
ref-success tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
shard-file tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
sorted-order tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
success tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
symlink-escape tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
symlink-invalid tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
uppercase tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
with-readme tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00
mock-nixpkgs.nix tests.nixpkgs-check-by-name: Improve lib path handling in tests 2024-01-15 18:34:16 +01:00