about summary refs log tree commit diff
path: root/nixos/modules/services/system
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-01-15 18:34:16 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-01-15 18:34:16 +0100
commitaa7dd0b5964f4b8b8f3bd542d2883296b249d68b (patch)
tree1fa5fa380715d820d47dbf8092ed2f1d9e58eae1 /nixos/modules/services/system
parentbe26d74840eb86f7e7dfb11dce0f5d329e775257 (diff)
downloadnixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar.gz
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar.bz2
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar.lz
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar.xz
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.tar.zst
nixlib-aa7dd0b5964f4b8b8f3bd542d2883296b249d68b.zip
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.
Diffstat (limited to 'nixos/modules/services/system')
0 files changed, 0 insertions, 0 deletions