lix/src/libutil
Eelco Dolstra 302386f775
Support netrc in <nix/fetchurl.nix>
This allows <nix/fetchurl.nix> to fetch private Git/Mercurial
repositories, e.g.

  import <nix/fetchurl.nix> {
    url = https://edolstra@bitbucket.org/edolstra/my-private-repo/get/80a14018daed.tar.bz2;
    sha256 = "1mgqzn7biqkq3hf2697b0jc4wabkqhmzq2srdymjfa6sb9zb6qs7";
  }

where /etc/nix/netrc contains:

  machine bitbucket.org
  login edolstra
  password blabla...

This works even when sandboxing is enabled.

To do: add unpacking support (i.e. fetchzip functionality).
2017-02-16 15:51:50 +01:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
archive.hh Add NAR / Store accessor abstraction 2016-02-25 17:43:19 +01:00
args.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
args.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
compression.cc Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
compression.hh Do compression in a sink 2016-05-04 16:16:53 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
hash.hh Cache path info lookups in SQLite 2016-04-20 14:12:38 +02:00
json.cc toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
json.hh toJSON(): Support some more types 2016-10-06 17:00:52 +02:00
local.mk use $(LIBLZMA_LIBS) instead of -llzma 2016-05-31 03:20:11 -04:00
logging.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
logging.hh Add support for s3:// URIs 2017-02-14 14:20:00 +01:00
lru-cache.hh Move path info caching from BinaryCacheStore to Store 2016-04-19 18:52:53 +02:00
monitor-fd.hh Fix interrupt handling 2017-01-26 20:40:33 +01:00
pool.hh Revert "Get rid of unicode quotes (#1140)" 2016-11-26 00:38:01 +01:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc AutoDeleteArray -> std::unique_ptr 2017-01-16 22:24:49 +01:00
serialise.hh Move SavingSourceAdapter to serialise.hh 2017-02-07 19:29:20 +01:00
sync.hh Add some functions needed by hydra 2016-10-12 15:49:37 +02:00
thread-pool.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
thread-pool.hh Fix assertion failure in ThreadPool::enqueue() 2016-07-21 18:14:16 +02:00
types.hh Include config.h implicitly with '-include config.h' in CFLAGS 2017-02-08 21:51:02 +02:00
util.cc Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
util.hh Support netrc in <nix/fetchurl.nix> 2017-02-16 15:51:50 +01:00
xml-writer.cc OCD: foreach -> C++11 ranged for 2015-07-17 20:13:56 +02:00
xml-writer.hh And another one 2014-02-26 18:55:18 +01:00