Eelco Dolstra
ec7d498b72
Give root a valid home directory
...
Some programs barf if the current user has a non-writable home
directory, e.g. http://hydra.nixos.org/build/44818144 .
2016-12-15 15:56:08 +01:00
Eelco Dolstra
5278bb7c16
Merge branch 'master' of github.com:NixOS/nix
2016-12-15 12:31:52 +01:00
Eelco Dolstra
1df82b6245
shell.nix: Add libseccomp
2016-12-15 12:31:35 +01:00
Eelco Dolstra
9f3f2e21ed
Merge branch 'seccomp' of https://github.com/aszlig/nix
2016-12-15 12:04:45 +01:00
Shea Levy
f867f090ed
Merge branch 'base32-overflow' of git://github.com/vcunat/nix
2016-12-13 09:41:02 -05:00
Domen Kožar
05f907787f
Merge pull request #1153 from lheckemann/path-search
...
Document path-searching behaviour
2016-12-11 19:31:17 +01:00
Linus Heckemann
bb5a6c0085
Document path-search behaviour
2016-12-11 17:13:37 +00:00
Linus Heckemann
6b30e1462e
Add missing DBD::SQLite to shell.nix
2016-12-11 17:13:18 +00:00
Domen Kožar
41d6523ef5
Document builtins.match, fixes #1145
2016-12-09 20:40:55 +01:00
Eelco Dolstra
47f587700d
Probably fix a segfault in PathLocks
2016-12-09 13:26:43 +01:00
Eelco Dolstra
b30d1e7ada
Don't delete .check directories of running builds
...
We need to keep them around for diffoscope.
2016-12-08 21:38:58 +01:00
Eelco Dolstra
88ef77226e
Fix warning on 32-bit systems
...
http://hydra.nixos.org/build/44628517
2016-12-08 20:37:58 +01:00
Eelco Dolstra
e629a17cc1
Fix build
...
http://hydra.nixos.org/build/44628517
2016-12-08 20:36:14 +01:00
Eelco Dolstra
fe1162a805
S3BinaryCacheStore: Ensure it only builds on Linux
2016-12-08 15:35:46 +01:00
Eelco Dolstra
e6a61b8da7
Fix S3BinaryCacheStore
...
It failed with
AWS error uploading ‘6gaxphsyhg66mz0a00qghf9nqf7majs2.ls.xz’: Unable to parse ExceptionName: MissingContentLength Message: You must provide the Content-Length HTTP header.
possibly because the istringstream_nocopy introduced in
0d2ebb4373
doesn't supply the seek
method that the AWS library expects. So bring back the old version,
but only for S3BinaryCacheStore.
2016-12-08 15:31:27 +01:00
Eelco Dolstra
8df1a3b579
Drop unused dblatex reference
2016-12-08 13:41:51 +01:00
Eelco Dolstra
9a313469a4
Add a hook to run diffoscope when non-determinism is detected
2016-12-07 17:57:35 +01:00
Eelco Dolstra
b07060688a
Keep track of the exact build start/stop times
2016-12-07 16:09:38 +01:00
Eelco Dolstra
dadfddfa7c
Bail out early when non-determinism is detected
2016-12-07 15:31:18 +01:00
Eelco Dolstra
cea4e2c618
Expose enforce-determinism and the result to Hydra
2016-12-07 13:43:40 +01:00
Eelco Dolstra
8bdf83f936
Add an option to make non-determinism non-fatal
...
That is, when build-repeat > 0, and the output of two rounds differ,
then print a warning rather than fail the build. This is primarily to
let Hydra check reproducibility of all packages.
2016-12-07 13:16:06 +01:00
Eelco Dolstra
ceeedb58d2
Use a steady clock for timeouts
...
Fixes #1146 .
2016-12-06 21:58:04 +01:00
Eelco Dolstra
7a3e7d0e61
nix-store --serve: Suppress log output on stderr when repeating a build
2016-12-06 17:43:39 +01:00
Eelco Dolstra
6069b946ad
nix-store --serve: Support setting build-repeat
...
This allows Hydra to test whether builds are reproducible.
2016-12-06 17:19:22 +01:00
Eelco Dolstra
603f08506e
Tweak error message
2016-12-06 17:18:40 +01:00
Eelco Dolstra
09191caea8
Add shell.nix
2016-12-06 17:17:29 +01:00
Eelco Dolstra
d1da6967b8
Drop unused WWW::Curl dependency
2016-12-06 17:17:29 +01:00
Eelco Dolstra
ae71895f55
Merge pull request #947 from layus/fix-path-slash
...
Improve error message on trailing path slashes
2016-12-06 15:21:17 +01:00
Matthew Garrett
83f1c3fc93
Bump version
2016-12-03 17:02:07 -08:00
Matthew Garrett
63d184fc8c
Provide raw sensor data
...
Provide raw versions of the sensor data for interpretation by clients
2016-12-03 16:41:10 -08:00
Matthew Garrett
d10a43531c
Fix python 2 compatibility
...
Ugly but appears to work
2016-12-03 16:40:58 -08:00
Matthew Garrett
31cd077165
Expose the type of the discovered device
...
Allow clients to identify what kind of device has been discovered
2016-12-03 14:22:20 -08:00
Matthew Garrett
c157860f0d
Fix setup.py
2016-12-03 14:16:59 -08:00
Matthew Garrett
9628b87572
Merge remote-tracking branch 'zenitraM/python3'
2016-12-03 14:16:32 -08:00
Guillaume Maudoux
e4b82af387
Improve error message on trailing path slashes
2016-11-27 17:48:46 +01:00
Eelco Dolstra
215b70f51e
Revert "Get rid of unicode quotes ( #1140 )"
...
This reverts commit f78126bfd6
. There
really is no need for such a massive change...
2016-11-26 00:38:01 +01:00
Guillaume Maudoux
f78126bfd6
Get rid of unicode quotes ( #1140 )
2016-11-25 15:48:27 +01:00
Jörg Thalheim
855abd85d8
Simplify remouting with MS_PRIVATE in sandbox build
...
also fix race condition if mounts are added after mountinfo is read.
2016-11-25 00:15:39 +01:00
Alejandro M
a5d05c95b3
Python 3 compatibility
2016-11-24 22:25:14 +01:00
Eelco Dolstra
7ee43df862
nix-channel: Fix --update <CHANNELS>
...
This unbreaks "nixos-rebuild --upgrade".
2016-11-21 15:54:19 +01:00
Matthew Garrett
d066513d02
Add packet retransmission and timeout
...
UDP doesn't guarantee delivery, so reattempt packet transmission if we don't
get a response and timeout if we still don't have anything after (by
default) 10 seconds.
2016-11-20 11:18:51 -08:00
Matthew Garrett
7ac243b838
Merge pull request #16 from PeWu/smartplug
...
Updated SmartPlug commands - set_power() and check_power()
2016-11-19 16:47:28 -08:00
Matthew Garrett
c68fcea5e6
Fix single device discovery
...
The automatic device type detection was only implemented when discovering
with a timeout. Refactor to do it for the single-device discover() case.
2016-11-19 14:23:50 -08:00
Przemek Wiech
1e04ec2be5
Merge branch 'master' into smartplug.
2016-11-18 21:20:35 +01:00
Przemek Wiech
652f52eb03
Updated SmartPlug commands - set_power() and check_power()
2016-11-18 00:19:02 +01:00
Matthew Garrett
d490c5b71e
Add automatic determination of device type
...
Look at the device ID and figure out what type of device it is, and provide
appropriate classes for each that only support the functionality available
on that device.
2016-11-18 09:55:21 +13:00
Eelco Dolstra
349e988903
Typo
2016-11-17 17:55:41 +01:00
Shea Levy
00b8bce4d0
Fix binary-cache-store build
2016-11-17 11:48:10 -05:00
Shea Levy
0d2ebb4373
istringstream_nocopy: Implement in a standards-compliant way
...
Fixes #1135 .
2016-11-17 10:10:32 -05:00
Shea Levy
3f4d3f8a1a
nix-daemon: Fix splice faking on non-Linux
2016-11-17 08:10:12 -05:00