aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/common-opts.hh
AgeCommit message (Collapse)Author
2014-05-26Ensure that -I flags get included in nixPathEelco Dolstra
Also fixes #261.
2012-07-18Use "#pragma once" to prevent repeated header file inclusionEelco Dolstra
2011-12-01* Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-buildEelco Dolstra
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 Dolstra
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 Dolstra
2007-01-14* Option --argstr for passing string arguments easily. (NIX-75)Eelco Dolstra