Commit graph

9903 commits

Author SHA1 Message Date
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
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
Vincent Ambo
f921e1095f feat(slides): Add slide about reproducibility 2018-03-12 02:21:56 +01:00
Vincent Ambo
82dd6c778c feat(slides): Add slides about DDC 2018-03-12 01:53:26 +01:00
Vincent Ambo
6f4278537e feat(slides): Add iniital presentation 2018-03-12 01:09:00 +01:00
Vincent Ambo
da53459e60 feat(build): Add Nix derivation for LaTeX build 2018-03-12 01:08:42 +01:00
Vincent Ambo
fe9d8f03ab feat(notes): Add reference section 2018-03-12 01:08:30 +01:00
Daniel Høyer Iversen
00cc79daee
Merge pull request #149 from deel77/master
Default support for python3 in get_energy() for SP2
2018-03-10 15:30:42 +01:00
Daniel Høyer Iversen
0742039477
Merge pull request #156 from Nightreaver/master
add new rmpro models
2018-03-10 15:30:10 +01:00
Daniel Høyer Iversen
e8795ac1ae
Merge pull request #150 from balloob/patch-1
Depend on pycryptodome instead of pycrypto
2018-03-10 15:29:33 +01:00
Vincent Ambo
1bc0df7875 docs: Add notes about C compilers 2018-03-10 15:10:10 +01:00
Vincent Ambo
d93d2a2d71 feat: Initial check-in 2018-03-10 13:15:01 +01:00
Vincent Ambo
19e5090491 chore: Initial commit 2018-03-10 13:14:56 +01:00
Steven Barthen
d186332b96 add new rmpro models - Pro Plus 3, Pro Plus 300, Pro Plus HYC, Pro Plus R1, Pro PP 2018-03-10 21:10:33 +09:00