about summary refs log tree commit diff
path: root/src/libexpr/common-opts.hh
AgeCommit message (Collapse)AuthorFilesLines
2014-09-19 Store Attrs inside BindingsEelco Dolstra1-1/+1
This prevents a double allocation per attribute set.
2014-08-13 Refactor option handlingEelco Dolstra1-4/+5
2014-05-26 Ensure that -I flags get included in nixPathEelco Dolstra1-2/+2
Also fixes #261.
2012-07-18 Use "#pragma once" to prevent repeated header file inclusionEelco Dolstra1-6/+1
2011-12-01 * Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-buildEelco Dolstra1-0/+2
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test
2011-08-06 * Add a Nix expression search path feature. Paths between angleEelco Dolstra1-0/+3
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.
2010-04-07 * Update autoCallFunction() and findAlongAttrPath().Eelco Dolstra1-1/+1
2007-01-14 * Option --argstr for passing string arguments easily. (NIX-75)Eelco Dolstra1-0/+17