Eelco Dolstra
1ecc97b6bd
* Add a Nix expression search path feature. Paths between angle
...
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.
2011-08-06 16:05:24 +00:00
..
2011-08-06 16:05:24 +00:00
2008-12-03 15:06:30 +00:00
2011-02-09 14:03:16 +00:00
2010-12-05 17:36:02 +00:00
2010-08-25 20:44:28 +00:00
2009-03-17 17:11:55 +00:00
2009-03-18 13:15:55 +00:00
2009-03-17 17:11:55 +00:00
2006-10-19 17:44:51 +00:00
2011-07-20 11:50:13 +00:00
2009-03-17 17:11:55 +00:00
2009-03-17 16:33:48 +00:00
2006-07-21 13:21:43 +00:00
2006-07-21 13:21:43 +00:00
2010-04-01 16:59:07 +00:00
2009-03-18 14:48:42 +00:00
2009-03-18 17:36:42 +00:00
2009-03-18 16:36:13 +00:00
2009-03-18 13:15:55 +00:00
2007-08-13 13:15:02 +00:00
2009-03-17 17:11:55 +00:00
2007-01-29 14:23:09 +00:00
2007-09-11 13:32:04 +00:00
2007-08-28 09:21:47 +00:00
2009-03-17 17:11:55 +00:00
2009-03-18 13:15:55 +00:00
2008-08-14 09:26:30 +00:00
2008-08-14 09:26:30 +00:00
2009-03-17 17:11:55 +00:00
2009-03-27 22:40:22 +00:00
2009-03-17 17:11:55 +00:00
2006-09-01 12:02:39 +00:00
2006-03-01 14:26:03 +00:00
2006-07-21 13:21:43 +00:00
2007-12-14 14:08:09 +00:00
2010-12-05 17:50:29 +00:00
2006-09-21 18:54:08 +00:00
2011-08-06 16:05:24 +00:00
2009-03-18 13:15:55 +00:00
2011-07-20 12:15:40 +00:00
2006-03-01 12:51:18 +00:00
2009-03-25 21:05:42 +00:00
2009-03-25 21:05:42 +00:00
2009-03-18 13:15:55 +00:00
2007-09-04 15:38:09 +00:00
2010-11-17 15:30:07 +00:00
2009-03-23 15:16:36 +00:00
2009-03-23 15:16:36 +00:00
2010-02-04 14:43:43 +00:00
2010-10-04 22:26:38 +00:00
2011-07-20 11:50:13 +00:00
2011-07-20 12:15:40 +00:00
2011-07-20 12:15:40 +00:00
2007-08-13 13:15:02 +00:00
2009-03-17 17:11:55 +00:00
2008-12-03 16:15:38 +00:00
2010-11-17 14:35:14 +00:00
2010-11-17 14:39:02 +00:00
2009-03-31 21:14:07 +00:00
2010-11-17 14:39:02 +00:00
2011-06-30 15:19:13 +00:00
2011-06-30 15:19:13 +00:00
2011-06-30 15:19:13 +00:00
2006-07-21 13:21:43 +00:00
2009-03-17 17:11:55 +00:00
2008-06-15 15:10:03 +00:00
2006-03-01 12:51:18 +00:00