brewery
notashelf /
28de44c5980099270a2482f04284128c54142270

nixir

public

Import-resolving Nix IR plugin

Star0tarball
clone
ssh://git@git.notashelf.dev:33/notashelf/nixir.git
tests/fixtures/import_simple.nixNix9 lines263 B
1
# Test import expression
2
# Import evaluates the file and returns its value
3
# Import a file that returns a simple value (42)
4
import ./simple.nix
5
# Can also import lookup paths:
6
# import <nixpkgs> { }
7
# Import with path expressions:
8
# import (./dir + "/file.nix")
9