nix-gh/src
Eelco Dolstra c10c61449f Eliminate the "store" global variable
Also, move a few free-standing functions into StoreAPI and Derivation.

Also, introduce a non-nullable smart pointer, ref<T>, which is just a
wrapper around std::shared_ptr ensuring that the pointer is never
null. (For reference-counted values, this is better than passing a
"T&", because the latter doesn't maintain the refcount. Usually, the
caller will have a shared_ptr keeping the value alive, but that's not
always the case, e.g., when passing a reference to a std::thread via
std::bind.)
2016-02-04 14:28:26 +01:00
..
boost boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
bsdiff-4.3 Fix "make dist" 2014-02-01 14:38:12 +01:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
libmain Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
libstore Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
libutil Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-collect-garbage Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-daemon Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-env Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-hash Use proper quotes everywhere 2014-08-20 18:03:48 +02:00
nix-instantiate Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-log2xml nix-log2xml: Handle newlines 2014-08-13 19:06:20 +02:00
nix-prefetch-url Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00
nix-store Eliminate the "store" global variable 2016-02-04 14:28:26 +01:00