tests: add tests for lookup paths and imports
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I7e54691aa3e81efcb495124d13e8c24a6a6a6964
This commit is contained in:
parent
a6aade6c11
commit
77aa67c7e0
6 changed files with 156 additions and 7 deletions
9
tests/lookup_path.nix
Normal file
9
tests/lookup_path.nix
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue