1ecc97b6bd
brackets, e.g. import <nixpkgs/pkgs/lib> are resolved by looking them up relative to the elements listed in the search path. This allows us to get rid of hacks like import "${builtins.getEnv "NIXPKGS_ALL"}/pkgs/lib" The search path can be specified through the ‘-I’ command-line flag and through the colon-separated ‘NIX_PATH’ environment variable, e.g., $ nix-build -I /etc/nixos ... If a file is not found in the search path, an error message is lazily thrown. |
||
---|---|---|
.. | ||
lang | ||
add.sh | ||
binary-patching.nix | ||
binary-patching.sh | ||
build-hook.hook.sh | ||
build-hook.nix | ||
build-hook.sh | ||
check-refs.nix | ||
check-refs.sh | ||
common.sh.in | ||
config.nix.in | ||
dependencies.builder0.sh | ||
dependencies.builder1.sh | ||
dependencies.builder2.sh | ||
dependencies.nix | ||
dependencies.sh | ||
export-graph.nix | ||
export-graph.sh | ||
export.sh | ||
fallback.sh | ||
filter-source.nix | ||
filter-source.sh | ||
fixed.builder1.sh | ||
fixed.builder2.sh | ||
fixed.nix | ||
fixed.sh | ||
gc-concurrent.builder.sh | ||
gc-concurrent.nix | ||
gc-concurrent.sh | ||
gc-concurrent2.builder.sh | ||
gc-runtime.nix | ||
gc-runtime.sh | ||
gc.sh | ||
hash-check.nix | ||
hash.sh | ||
init.sh | ||
install-package.sh | ||
lang.sh | ||
logging.sh | ||
Makefile.am | ||
misc.sh | ||
negative-caching.nix | ||
negative-caching.sh | ||
nix-build.sh | ||
nix-pull.sh | ||
nix-push.sh | ||
parallel.builder.sh | ||
parallel.nix | ||
parallel.sh | ||
referrers.sh | ||
remote-store.sh | ||
secure-drv-outputs.nix | ||
secure-drv-outputs.sh | ||
simple.builder.sh | ||
simple.nix | ||
simple.sh | ||
substituter.sh | ||
substituter2.sh | ||
substitutes.sh | ||
substitutes2.sh | ||
timeout.builder.sh | ||
timeout.nix | ||
timeout.sh | ||
user-envs.builder.sh | ||
user-envs.nix | ||
user-envs.sh | ||
verify.sh |