Eelco Dolstra
af3db853fa
Handle $TMPDIR ending with a slash
...
This caused the gc test to fail on Darwin.
2016-10-19 15:19:38 +02:00
Eelco Dolstra
29727ff944
Shut up clang warning
2016-10-19 15:02:48 +02:00
Eelco Dolstra
e5346c54df
Fix uninitialised variable
2016-10-19 15:02:38 +02:00
Eelco Dolstra
f702c92262
Merge pull request #1096 from groxxda/gitignore
...
.gitignore: catch up with perl -> c conversion
2016-10-19 14:09:04 +02:00
Alexander Ried
b05b98df75
replace own regex class with std::regex
2016-10-18 20:22:25 +02:00
Alexander Ried
efb938468c
downloader: use priority_queue
2016-10-18 15:45:51 +02:00
Alexander Ried
8d2f156c32
.gitignore: catch up with perl -> c conversion
2016-10-17 00:15:18 +02:00
Eelco Dolstra
ae8884b949
Fix /dev/ptmx in sandboxes
...
This was broken since ff0c0b645c
. Since
I can't figure out how to mount a devpts instance in the sandbox,
let's just bind-mount the host devpts.
2016-10-14 15:42:13 +02:00
Eelco Dolstra
2f9d60ed7f
CURL_AT_LEAST_VERSION -> LIBCURL_VERSION_NUM
...
http://hydra.nixos.org/build/42025230
2016-10-14 14:44:15 +02:00
Eelco Dolstra
5e61b422c5
Fix HTTP/2 support
...
Commit 86e8c67efc
broke it, because
CURL_* are not actually #defines.
2016-10-13 17:25:42 +02:00
Eelco Dolstra
fb2dd32100
SSL_CERT_FILE -> NIX_SSL_CERT_FILE
...
This prevents collisions with the "native" OpenSSL, in particular on
OS X.
Fixes #921 .
2016-10-13 17:09:10 +02:00
Eelco Dolstra
816d3e5724
Shut up some warnings
2016-10-12 15:53:38 +02:00
Eelco Dolstra
82e2a070e0
Add some functions needed by hydra
2016-10-12 15:49:37 +02:00
Matthew Garrett
ef77bc7ea8
Add some todos in the protocol
2016-10-12 05:42:07 -07:00
Matthew Garrett
60afb5164e
Document packet format
2016-10-12 05:38:15 -07:00
Matthew Garrett
6936bc750e
Attempt to handle timezones
...
The timezone should be embedded in the discovery packet, so make a better
attempt to do that.
2016-10-10 01:09:06 -07:00
Eelco Dolstra
edf9eb8181
querySubstitutablePaths(): Don't query paths for which we already have a substituter
2016-10-07 19:57:47 +02:00
Eelco Dolstra
0c85ef7090
LocalStore::querySubstitutablePaths(): Implement using queryValidPaths()
2016-10-07 19:46:56 +02:00
Eelco Dolstra
844219f364
Store::queryValidPaths(): Use async queryPathInfo()
...
This allows the binary cache substituter to pipeline requests.
2016-10-07 19:43:36 +02:00
Eelco Dolstra
c663b84573
Implement generic Store::queryValidPaths()
2016-10-07 19:20:47 +02:00
Eelco Dolstra
35db4f65a0
Add copyClosure utility function for Hydra
2016-10-07 19:15:25 +02:00
Eelco Dolstra
629ab80022
importPaths(): Fix accessor support for Hydra
2016-10-07 18:13:40 +02:00
Eelco Dolstra
b0f7f9c98f
toJSON(): Support some more types
2016-10-06 17:00:52 +02:00
Eelco Dolstra
ae522f930d
Fix getS3Stats()
2016-10-06 17:00:52 +02:00
Eelco Dolstra
cd128f4bad
Merge pull request #998 from veprbl/rx_chmod_fix
...
override rx directory permissions in deletePath()
2016-10-06 11:08:21 +02:00
Eelco Dolstra
c6a929986a
Use std::random_device
2016-10-05 21:29:18 +02:00
Eelco Dolstra
86e8c67efc
Fix build with older versions of libcurl
2016-10-04 14:43:23 +02:00
Vincent Ambo
e514f9ecff
[nginx] Use SAN certificates
...
Use SAN certificates from k8s LE controller 1.3
2016-09-26 01:23:29 +02:00
Vincent Ambo
421ef0a77f
Question slide & movie reference
2016-09-22 16:20:16 +02:00
Eelco Dolstra
4bd51d74af
Handle the case where signed-binary-caches consists of whitespace
2016-09-22 15:59:25 +02:00
Eelco Dolstra
bbe2811a10
<nix/fetchurl.nix>: Support nix-prefetch-url
2016-09-22 15:48:14 +02:00
Vincent Ambo
631ad80af3
Add compiled presentation
2016-09-22 15:45:22 +02:00
Vincent Ambo
fac2474ac6
Add the rest of the damn presentation
2016-09-22 15:37:17 +02:00
Vincent Ambo
6c456a06c7
Initial check-in
2016-09-22 13:56:02 +02:00
Eelco Dolstra
818ab58cc6
Add sandbox-dev-shm-size option
...
Fixes #1069 .
2016-09-21 16:54:53 +02:00
Eelco Dolstra
4546be1b3e
nix-build, nix-shell: Don't print error message if nix-store/nix-instantiate fails
2016-09-21 16:54:53 +02:00
Eelco Dolstra
c55bf085eb
printMsg(lvlError, ...) -> printError(...) etc.
2016-09-21 16:54:53 +02:00
Eelco Dolstra
4036185cb4
Some notational convenience for formatting strings
...
We can now write
throw Error("file '%s' not found", path);
instead of
throw Error(format("file '%s' not found") % path);
and similarly
printError("file '%s' not found", path);
instead of
printMsg(lvlError, format("file '%s' not found") % path);
2016-09-21 16:54:53 +02:00
Eelco Dolstra
3f8e620b19
Merge pull request #1068 from zimbatm/doc-set-toString
...
Document the { __toString } interface
2016-09-21 16:30:38 +02:00
zimbatm
7d7ec2b3a8
Document the { __toString } interface
2016-09-21 14:52:26 +01:00
Vincent Ambo
a02148d832
[tazblog] Add tazblog deployment & svc
2016-09-21 02:29:48 +02:00
Vincent Ambo
ef8846eb00
[nginx] Add gogs certificate
2016-09-21 02:29:48 +02:00
Vincent Ambo
7e12db2454
[nginx] Use Deployment resource instead of RC
2016-09-21 02:29:48 +02:00
Vincent Ambo
8bc007c7f3
[nginx/conf] Update TLS cert locations
...
The setup now uses my Kubernetes controller for Let's Encrypt.
This changes the nginx certificate locations to match the new secrets.
2016-09-21 02:29:47 +02:00
Eelco Dolstra
3fcfd899f8
Merge pull request #1066 from adevress/disable-doc
...
Add a new option to disable documentation generation at configure time
2016-09-20 18:13:41 +02:00
Eelco Dolstra
beaefdf706
Tweak
2016-09-20 17:49:31 +02:00
Eelco Dolstra
f12d56b27b
Improve robustness
2016-09-20 17:25:44 +02:00
Eelco Dolstra
794e4ab475
Fix "Promise already satisfied" error
2016-09-20 17:25:12 +02:00
Adrien Devresse
7ef053c632
Add a new option to disable documentation generation at configure time
2016-09-20 14:34:43 +00:00
Eelco Dolstra
4de0639105
nix-shell: Fix $PATH handling in the impure case
...
We were passing "p=$PATH" rather than "p=$PATH;", resulting in some
invalid shell code.
Also, construct a separate environment for the child rather than
overwriting the parent's.
2016-09-20 15:41:41 +02:00