tests: add tests for lookup paths and imports

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7e54691aa3e81efcb495124d13e8c24a6a6a6964
This commit is contained in:
raf 2026-02-22 20:00:35 +03:00
commit 77aa67c7e0
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
6 changed files with 156 additions and 7 deletions

9
tests/lookup_path.nix Normal file
View file

@ -0,0 +1,9 @@
# Test lookup path syntax
# Lookup paths resolve via NIX_PATH environment variable
# Example: <nixpkgs> -> /nix/var/nix/profiles/per-user/root/channels/nixpkgs
# Simple lookup path
<nixpkgs>
# Nested lookup path (common pattern)
# <nixpkgs/lib>