Commit graph

10822 commits

Author SHA1 Message Date
marconfus
26109aac67 Fix for environments where Crypto and pyaes are installed. (#151)
If both Crypto and pyaes are installed 'pyaes' is in sys.modules(), but as it is not imported (see top) it's not available.
Fix for #128
2018-03-18 14:54:17 -07:00
Eelco Dolstra
b2074f0892 Fix bad XML 2018-03-18 13:27:30 +01:00
Vincent Ambo
867f40307e chore(brew): Bump Homebrew formula to 1.4.0 2018-03-17 23:20:13 +01:00
Vincent Ambo
e2effbb289 chore(image): Bump image version to 1.4
* upgrade Alpine release
* upgrade kubectl to 1.9.4
* upgrade Kontemplate to 1.4.0
2018-03-17 23:20:13 +01:00
Vincent Ambo
1f373caba0 chore: Bump version to 1.4.0 2018-03-17 22:47:57 +01:00
Vincent Ambo
03838ff31b fix(example): Add missing file to example folder 2018-03-17 22:47:57 +01:00
zimbatm
43bef1b82c doc: document the min-free and max-free options 2018-03-17 21:29:03 +00:00
zimbatm
fef8ebf51d doc: add xml:id to all the config options 2018-03-17 21:17:28 +00:00
Vincent Ambo
ace425793a fix(rust): Fix Rust source path for >1.20 2018-03-17 21:54:18 +01:00
Vincent Ambo
7d13aa4148 chore(haskell): Remove everything except for intero setup 2018-03-17 21:54:08 +01:00
Vincent Ambo
33bb6c9dbc fix(custom): Fix window-splitting config for Helm
Apparently this parameter was renamed?
2018-03-17 21:53:44 +01:00
Vincent Ambo
779227164a feat(emacs): Add Kotlin & TOML mode 2018-03-17 21:47:38 +01:00
Vincent Ambo
175e20fb14 feat(adho): Add initial CUPS configuration 2018-03-17 21:47:38 +01:00
Vincent Ambo
25b8c72a98 feat(stallo): Enable SSH daemon 2018-03-17 21:46:55 +01:00
Linus Heckemann
639c166647 build-remote: take extra-platforms into account 2018-03-16 22:50:57 +00:00
Linus Heckemann
637701b604 rename build-extra-platforms -> extra-platforms
also document it
2018-03-16 22:50:27 +00:00
Linus Heckemann
12913ccf45 nix-shell: allow symlinks to .drvs
This makes persistent shell environments easier to use.
2018-03-16 22:15:24 +00:00
Eelco Dolstra
48662d151b
Reduce substitution memory consumption
copyStorePath() now pipes the output of srcStore->narFromPath()
directly into dstStore->addToStore(). The sink used by the former is
converted into a source usable by the latter using
boost::coroutine2. This is based on [1].

This reduces the maximum resident size of

  $ nix build --store ~/my-nix/ /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1 --substituters file:///tmp/binary-cache-xz/ --no-require-sigs

from 418592 KiB to 53416 KiB. (The previous commit also reduced the
runtime from ~4.2s to ~3.4s, not sure why.) A further improvement will
be to download files into a Sink.

[1] https://github.com/NixOS/nix/compare/master...Mathnerd314:dump-fix-coroutine#diff-dcbcac55a634031f9cc73707da6e4b18

Issue #1969.
2018-03-16 20:35:59 +01:00
Eelco Dolstra
3e6b194d78
decompress(): Use a Source and Sink
This allows decompression to happen in O(1) memory.
2018-03-16 20:35:59 +01:00
Abseil Team
eed36bfba0 Changes imported from Abseil "staging" branch:
- 95e20a66bfa6104937ec92722b04a9c0ca0443dc Make ThrowingBool convertible to bool. by Xiaoyi Zhang <zhangxy@google.com>

GitOrigin-RevId: 95e20a66bfa6104937ec92722b04a9c0ca0443dc
Change-Id: I7a1dcb53b0764b24482ee1886276b267c8cb83c2
2018-03-16 10:00:07 -04:00
Eelco Dolstra
64441f0551
Merge pull request #1939 from dezgeg/lexer-fix
libexpr: Recognize newline in more places in lexer
2018-03-16 12:14:58 +01:00
Eelco Dolstra
eb75bc5afb
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
2018-03-16 12:03:18 +01:00
Eelco Dolstra
4868721506
Filter ANSI colors when not writing to a terminal
Fixes https://github.com/NixOS/nixpkgs/issues/37114.
2018-03-15 16:08:07 +01:00
Eelco Dolstra
7b8914825a
Merge pull request #1965 from masaeedu/master
Wrap thread local in function for Cygwin
2018-03-15 14:56:21 +01:00
Shea Levy
cfdbfa6b2c
Catch more possible instances of passing NULL to memcpy.
Actually fixes #1976.
2018-03-14 23:53:43 -04:00
Shea Levy
d25d9f7cec
Merge branch 'fix/errno-sighandler' of git://github.com/dtzWill/nix 2018-03-14 23:45:35 -04:00
Shea Levy
e2088febf3
concatLists: Don't pass NULL pointers to memcpy.
This is UB, even if the size is 0. See #1976.

Fixes #1976.
2018-03-14 23:44:02 -04:00
Will Dietz
d98755b0c2 nix-daemon: preserve errno in signal handler (thanks tsan) 2018-03-14 21:39:46 -05:00
Eelco Dolstra
55aa622fb1
Fix compatibility with latest boost::format 2018-03-14 19:25:09 +01:00
Eelco Dolstra
c04bca3401
Factor out commonality between release.nix and shell.nix 2018-03-14 19:25:09 +01:00
Eelco Dolstra
ca14b14200
Use boost::format from the boost package
Note that this only requires headers from boost so it doesn't add a
runtime dependency.

Also, use Nixpkgs 18.03.
2018-03-14 19:24:04 +01:00
Shea Levy
56f2ed0081
Merge pull request #1906 from dtzWill/fix/nix-search
nix search: tests and fix #1893 and part of #1892
2018-03-13 18:43:47 -06:00
Abseil Team
2661ed4998 Changes imported from Abseil "staging" branch:
- 586ce24e521973fceb43fd8ea7c9f54eae938762 Remove comments that reference internal code. by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 586ce24e521973fceb43fd8ea7c9f54eae938762
Change-Id: Ibab556ce20d3cb0022483cb1f027af67e26706f6
2018-03-13 14:59:16 -04:00
Eelco Dolstra
7afdc8d4a1
build-remote: Don't substitute the build result 2018-03-13 17:56:51 +01:00
Eelco Dolstra
6e60141a80
Typo 2018-03-13 17:48:09 +01:00
Vincent Ambo
dfc1ead29d fix(slides): Minor rewording 2018-03-13 16:57:09 +01:00
Vincent Ambo
f47b4cad07 feat(slides): Add slide about runtimes
All the slide number comments are now off, but oh well.
2018-03-13 16:56:54 +01:00
Vincent Ambo
381c3722aa feat(pdfpc): Add presenter notes for all slides 2018-03-13 16:21:36 +01:00
Vincent Ambo
4033165be0 fix(slides): Minor last-minute fixups 2018-03-13 16:21:12 +01:00
Guillaume Maudoux
80735c4cc9
fetchGit: Fix debug message 2018-03-13 10:28:23 +01:00
Vincent Ambo
cedd3524fb feat(slides): Add slides about MES and stage0 2018-03-13 00:48:15 +01:00
Vincent Ambo
eb2bc80100 feat(slides): Add NixOS slides 2018-03-13 00:39:15 +01:00
Vincent Ambo
71c900dbff feat(slides): Nix logo & drake meme 2018-03-13 00:19:42 +01:00
Vincent Ambo
ca9db12239 feat(slides): Current & desired state of Debian 2018-03-13 00:19:18 +01:00
Vincent Ambo
71e86f883a feat(slides): Highlight importance of reproducibility 2018-03-13 00:18:54 +01:00
Vincent Ambo
3bf976fe45 feat(notes): "How to help" notes 2018-03-13 00:18:32 +01:00
Vincent Ambo
88a2e0927d feat(slides): Add outline of remaining slides 2018-03-12 22:20:47 +01:00
Griffin Smith
8134c3011c feat: Allow creating epics
Add an org-clubhouse-create-epic function that prompts for a milestone then
creates a new epic under that milestone from the current org element
2018-03-12 15:04:06 -04:00
Abseil Team
23ef7e1127 Changes imported from Abseil "staging" branch:
- 50eadebdcad56fe50e8070b94497568c74175b28 Correct an example for StrSplit in the comments and chang... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 50eadebdcad56fe50e8070b94497568c74175b28
Change-Id: I2b12ce54e7d9db05ee15904801498f59e20e5d23
2018-03-12 12:43:06 -04:00
Asad Saeeduddin
be54f4a0b6 Wrap thread local in function for Cygwin
Fixes #1826. See #1352 for a previous instance of a similar change.
2018-03-12 00:56:41 -04:00