Eelco Dolstra
c905d8b0a8
GC_malloc -> GC_MALLOC
...
This makes it possible to build with -DGC_DEBUG.
2018-06-12 17:49:55 +02:00
Eelco Dolstra
455d1f01d0
Don't scan for roots in dynamic libraries
...
This reduces the risk of object liveness misdetection. For example,
Glibc has an internal variable "mp_" that often points to a Boehm
object, keeping it alive unnecessarily. Since we don't store any
actual roots in global variables, we can just disable data segment
scanning.
With this, the max RSS doing 100 evaluations of
nixos.tests.firefox.x86_64-linux.drvPath went from 718 MiB to 455 MiB.
2018-06-12 17:49:55 +02:00
Eelco Dolstra
30964103dc
Add temporary stats
2018-06-12 17:49:55 +02:00
Eelco Dolstra
24c6806994
Cache parse trees
...
This prevents EvalState::resetFileCache() from parsing everything all
over again.
2018-06-12 17:49:55 +02:00
Eelco Dolstra
6ad0a2f749
Remove duplicate definition of allocBytes()
2018-06-12 17:49:51 +02:00
Daniel Peebles
169e1478d8
Merge pull request #2224 from serokell/getaddrinfo-preload
...
Fix #2162 : use getaddrinfo instead of curl to preload NSS
2018-06-12 09:15:17 -04:00
Yorick van Pelt
72a78beb34
Fix #2162 : use getaddrinfo instead of curl to preload NSS
2018-06-12 13:05:14 +02:00
Vincent Ambo
ebc1dd1a18
chore(mail): Switch to citing messages without signature
2018-06-12 09:12:39 +02:00
Vincent Ambo
7781a059b3
fix(mail): Fix setup of drafts & cache folder
2018-06-12 09:12:39 +02:00
Vincent Ambo
711afd3bd5
chore(mail): Unbind notmuch-save-draft
...
I don't use drafts and they're kind of annoying.
2018-06-12 09:10:25 +02:00
Eelco Dolstra
27d1c052ae
Merge pull request #2223 from symphorien/esrch
...
libstore/gc.cc: ignore ESRCH when reading /proc
2018-06-11 18:08:53 +02:00
Symphorien Gibol
8c567afe35
libstore/gc.cc: ignore ESRCH when reading /proc
...
If a process disappears between the time /proc/[pid]/maps is opened and
the time it is read, the read() syscall will return ESRCH. This should be ignored.
2018-06-11 16:29:47 +02:00
Eelco Dolstra
de71335e4d
Merge pull request #2211 from unsatcore/master
...
tests: more robust check for user namespaces availability (canUseSand…
2018-06-11 11:10:02 +02:00
Vincent Ambo
ad5fff55a2
feat(mail): Tag nix-devel mailing list
2018-06-10 21:45:27 +02:00
Shea Levy
9c2283cc4a
Merge pull request #2220 from 7c6f434c/doc-floats
...
manual: builtins.fromJSON: remove the claim that floats are not allowed
2018-06-10 11:59:02 -04:00
Vincent Ambo
cd94994073
fix(mail): Always mark drafts as read
2018-06-10 15:50:37 +02:00
Vincent Ambo
761e3794ed
fix(mail): Exclude drafts from search results
2018-06-10 15:50:37 +02:00
Vincent Ambo
e3b4a370a2
chore(notmuch-config): Set work email as default
...
Office365 groups don't add required metadata to automatically
determine which sender should be used when replying to a mail.
2018-06-10 15:50:37 +02:00
Michael Raskin
17bc757980
manual: builtins.fromJSON: remove the claim that floats are not allowed
...
floating-point numbers are supported now, including the fromJSON
builtin. Reported on IRC by inquisitiv3
2018-06-10 14:20:18 +02:00
Vincent Ambo
01f771fa2f
chore(image): Bump version to 1.6.0
...
* kontemplate 1.6.0
* kubectl 1.10.4
2018-06-09 22:13:42 +02:00
Vincent Ambo
e9992aec0b
chore(brew): Update Homebrew formula for 1.6.0
2018-06-09 22:13:42 +02:00
Vincent Ambo
3a688191af
fix(build): Fix shebang in build-release.sh
2018-06-09 22:13:42 +02:00
Vincent Ambo
97bef90387
chore: Bump version to 1.6.0
2018-06-09 21:34:58 +02:00
Vincent Ambo
c91cb21f70
feat(templater): Support single-template resource sets
...
Supports resource sets in which the `path` is pointed at a single
template file.
The example has been updated with ... an example of this.
This closes #81 .
2018-06-09 21:23:48 +02:00
Vincent Ambo
77ca5b47cf
fix(context): Global values have precedence over defaults
2018-06-09 21:16:27 +02:00
Vincent Ambo
ae6d960df9
feat(context): Support loading import variables from absolute paths
...
This lets users specify the paths from which to import additional
variables using absolute paths in addition to relative paths.
This enables both loading of configuration files placed outside of the
resource set folder (if desired), as well as special use-cases such as
specifying `/dev/stdin` as an input path to read variables from
standard input.
This change supersedes #131
2018-06-09 20:21:29 +02:00
Vincent Ambo
141355f350
refactor(util): Use YAML parser for both JSON & YAML files
...
JSON is a subset of YAML and the previous detection logic is
unnecessary.
2018-06-09 20:21:29 +02:00
Vincent Ambo
b33c353233
refactor(context): Implement more explicit merging of variables
...
The hierarchy for loading variables was previously not expressed
explicitly.
This commit refactors the logic for merging variables to explicitly
set the different layers of variables as values on the context object
and merge them for each resource set in `mergeContextValues`.
2018-06-09 19:16:23 +02:00
Phillip Johnsen
5cf9d53e80
feat(context): allow explicit variables to be defined as argument
...
These changes allows variables to be defined when executing
`kontemplate` via one or more `--variable` arguments.
With this in place one can either define new variables or override
existing variables loaded from a file:
```
$ kontemplate apply --variable version=v1.0 example/fancy-app.yaml
```
This avoids the need to write variables into a temporary file that is
only needed to provide "external variables" into resource sets.
Closes https://github.com/tazjin/kontemplate/issues/122
2018-06-09 19:16:23 +02:00
Will Dietz
6bf7dc1baf
download: if there are active requests, never sleep for 10s
...
In some versions/configurations libcurl doesn't handle timeouts
(especially DNS timeouts) in a way that wakes curl_multi_wait.
This doesn't appear to be a problem if using c-ares, FWIW.
2018-06-08 21:12:43 -05:00
Aleksandr Pashkov
a717ad7484
pr-2211: cleanup
2018-06-08 23:31:42 +03:00
Vincent Ambo
45432f9b34
fix(mail): Set mail-host-address variable from hostname
2018-06-08 15:14:22 +02:00
Vincent Ambo
d146f1089b
feat(functions): Add M-x nixos-man
...
Opens the configuration.nix man page
2018-06-08 15:14:09 +02:00
Eelco Dolstra
74144ae845
Merge pull request #2215 from AmineChikhaoui/s3-multipart-debug
...
use debug instead of printTalkative to avoid spamming hydra queue-runner
2018-06-08 13:02:25 +02:00
AmineChikhaoui
170165ee5a
use debug instead of printTalkative to avoid spamming hydra queue
...
runner logs.
2018-06-08 11:43:32 +01:00
Vincent Ambo
b80a567cdb
feat(emacs): Install jq-mode
2018-06-08 00:13:27 +02:00
Vincent Ambo
f70a16f453
feat(mail): Add development list to notmuch jump shortcuts
2018-06-07 23:23:57 +02:00
Vincent Ambo
8ac9fac175
feat(mail): Tag development mailing list
2018-06-07 23:23:34 +02:00
Aleksandr Pashkov
b333e6d6fe
pr-2211: cleanup
2018-06-07 23:08:43 +03:00
Vincent Ambo
b304289de3
chore(rust): Remove flycheck-require
...
eglot uses flymake, which is bundled.
2018-06-06 23:33:22 +02:00
Vincent Ambo
8813e55555
feat(emacs): Add websocket lib (and remove flycheck)
2018-06-06 23:32:55 +02:00
Vincent Ambo
b607fa5e60
fix(mail): Let timer unit be wanted by timers.target
2018-06-06 21:16:03 +02:00
Vincent Ambo
9576f73526
fix(settings): Require password-store related libraries
...
These libraries are no longer auto-required because I don't actually
use the default ivy-pass anymore, just some helper functions from the
libs.
2018-06-06 21:05:58 +02:00
Vincent Ambo
c1c102665c
fix(mail): Ensure MSMTP's sendmail binary is used for sending
2018-06-06 21:05:47 +02:00
Vincent Ambo
858895aad3
fix(offlineimaprc): offlineimap chokes on inline comments
2018-06-06 20:44:32 +02:00
Vincent Ambo
6ad7669930
fix(offlineimaprc): Set maxage=90 on GMail account
2018-06-06 20:42:35 +02:00
Vincent Ambo
8460fd5ec5
fix(mail): Move wantedBy setting to timer unit
...
It's not the (oneshot) service, it's the timer that needs to be
"enableable".
2018-06-06 20:42:15 +02:00
Vincent Ambo
9b5be54563
chore(pkgs): Remove Evolution
2018-06-06 20:42:07 +02:00
Vincent Ambo
8664bb7714
chore: Remove nixkpgs-mozilla submodule link
2018-06-06 16:35:46 +02:00
Vincent Ambo
e4f9255a3a
chore: Remove .gitmodules
...
Mozilla overlay is no longer used.
2018-06-06 16:35:08 +02:00