Commit graph

13226 commits

Author SHA1 Message Date
Eelco Dolstra
e93acab852 Build Fedora 18 RPMs 2013-05-08 14:41:35 +02:00
Eelco Dolstra
806970349b Update release date 2013-05-07 15:46:25 +02:00
Eelco Dolstra
ea019e9a26 Add option ‘extra-binary-caches’
This allows providing additional binary caches, useful in scripts like
Hydra's build reproduction scripts, in particular because untrusted
caches are ignored.
2013-05-07 15:37:28 +02:00
Eelco Dolstra
cc837e2458 Build Debian 7.0 debs 2013-05-07 11:21:30 +02:00
"Vincent Ambo ext:(%22)
008e333146 * time hotfix 2013-05-05 21:59:49 +02:00
"Vincent Ambo ext:(%22)
1452476015 * minor unimportant fix 2013-05-05 21:08:50 +02:00
"Vincent Ambo ext:(%22)
df9603369d * serving correct css location 2013-05-05 21:06:49 +02:00
"Vincent Ambo ext:(%22)
c7a538e7d1 * added bootstrap file
* moved CSS to correct paths
2013-05-05 21:06:41 +02:00
"Vincent Ambo ext:(%22)
d860239863 * sticky footer 2013-05-05 21:05:05 +02:00
"Vincent Ambo ext:(%22)
67b50be2fe * smaller HTML fixes 2013-05-05 20:40:05 +02:00
"Vincent Ambo ext:(%22)
d7cce6cb41 * more bootstrap-related fixes, nearing completion
* version bumped to 4.0
2013-05-05 20:34:06 +02:00
"Vincent Ambo ext:(%22)
11a51f6abd * fixed comments and footer in Bootstrap 2013-05-05 20:16:49 +02:00
"Vincent Ambo ext:(%22)
514d2b2777 * further work on Bootstrapping 2013-05-05 19:57:46 +02:00
"Vincent Ambo ext:(%22)
287f7fda8c * fixed date formatting 2013-05-05 18:30:25 +02:00
Eelco Dolstra
28034bfa49 Build Ubuntu 13.04 debs 2013-05-03 14:14:46 +02:00
Eelco Dolstra
93f4fa8a15 Update release notes 2013-05-03 11:28:32 +02:00
Eelco Dolstra
c51b6a893c nix-copy-closure: Show a proper error message if no host name is given 2013-05-03 11:12:11 +02:00
Lluís Batlle i Rossell
e6c44d166a Fixing the pv position regarding compression
Problem noticed by niksnut.
2013-05-03 11:08:51 +02:00
Lluís Batlle i Rossell
7391533ea5 Fixing the pv reference; I didn't mean to change it 2013-05-03 11:08:51 +02:00
Lluís Batlle i Rossell
5cc2fc46ec Adding ETA support to the --show-progress in nix-copy-closure
Based on https://github.com/NixOS/nix/pull/6 from shlevy
2013-05-03 11:08:51 +02:00
Eelco Dolstra
3628b61ce0 Nix 1.5.2 release notes 2013-05-01 13:31:33 +02:00
Eelco Dolstra
470553bd05 Don't let stderr writes in substituters cause a deadlock 2013-05-01 13:21:39 +02:00
"Vincent Ambo ext:(%22)
9904c6117f * adding bootstrap.css 2013-04-28 23:08:16 +02:00
"Vincent Ambo ext:(%22)
9af249c0b2 * started moving blog to bootstrap, but keeping the design. Currently far from done 2013-04-28 23:07:56 +02:00
"Vincent Ambo ext:(%22)
92f4aecbee * version bump to 3.5 2013-04-28 14:49:38 +02:00
"Vincent Ambo ext:(%22)
c5206173e6 ran hlint 2013-04-28 14:44:14 +02:00
"Vincent Ambo ext:(%22)
9719b5a62d Used stylish-haskell on all source files 2013-04-28 14:30:00 +02:00
"Vincent Ambo ext:(%22)
8f1b6b5c4e * added Markdown support 2013-04-28 14:26:45 +02:00
"Vincent Ambo ext:(%22)
0f98c3f489 * removed iMessage 2013-04-28 13:45:08 +02:00
"Vincent Ambo ext:(%22)
247265f354 * saved the function that I cleaned the comments with. The function is horrendous 2013-04-28 13:12:08 +02:00
"Vincent Ambo ext:(%22)
b3fb7f0f34 * re-enabled captchas 2013-04-28 13:11:38 +02:00
"Vincent Ambo ext:(%22)
1bdbe4af64 * switched main language to English 2013-04-27 22:17:54 +02:00
"Vincent Ambo ext:(%22)
de09c2cc68 * fixed comment deletion link
* updated contact info
* fixed compatibility with current blaze
2013-04-27 22:15:46 +02:00
Eelco Dolstra
4ddd077bfa find-runtime-roots.pl: Don't hardcode /nix/store 2013-04-26 12:15:54 +02:00
Eelco Dolstra
0374d94437 addAdditionalRoots(): Check each path only once 2013-04-26 12:07:25 +02:00
Eelco Dolstra
00f698eb8b find-runtime-roots.pl: Search process environments for roots
For instance, this prevents paths from being deleted that are in use
by a "nix-build --run-env" session.
2013-04-26 12:06:39 +02:00
Eelco Dolstra
938092a213 find-runtime-roots.pl: Use Nix::Utils::readFile 2013-04-26 11:44:19 +02:00
"Vincent Ambo ext:(%22)
3a39dfc19e * small fixes that I don't remember 2013-04-24 14:35:25 +02:00
Eelco Dolstra
772b70952f Fix --timeout
I'm not sure if it has ever worked correctly.  The line "lastWait =
after;" seems to mean that the timer was reset every time a build
produced log output.

Note that the timeout is now per build, as documented ("the maximum
number of seconds that a builder can run").
2013-04-23 18:04:59 +02:00
Eelco Dolstra
f9974f856e Show that --timeout doesn't work if the build produces log output 2013-04-23 17:16:29 +02:00
Eelco Dolstra
6955d41f2b nix-build: Respect --timeout 2013-04-23 17:16:01 +02:00
Eelco Dolstra
934cf2d1f4 Nix daemon: respect build timeout from the client 2013-04-23 16:59:06 +02:00
Eelco Dolstra
08d96ffad0 Fix --fallback with the binary cache substituter
Reported by Peter Simons.
2013-04-23 12:45:01 +02:00
Eelco Dolstra
a9b4e26b5c Test whether --fallback works if NARS have disappeared from the binary cache 2013-04-23 12:44:01 +02:00
Eelco Dolstra
c642441beb Test NAR info caching 2013-04-23 12:43:28 +02:00
Eelco Dolstra
05420e7883 Manual: Add a missing step to the build instructions
Reported by Johan Grande.
2013-04-09 17:57:48 +02:00
Eelco Dolstra
258897c265 Complain if /homeless-shelter exists 2013-04-04 11:16:26 +02:00
Eelco Dolstra
239841787b Fix evaluation of the VM tests 2013-03-25 21:59:11 +01:00
Shea Levy
cc63db1dd5 makeStoreWritable: Ask forgiveness, not permission
It is surprisingly impossible to check if a mountpoint is a bind mount
on Linux, and in my previous commit I forgot to check if /nix/store was
even a mountpoint at all. statvfs.f_flag is not populated with MS_BIND
(and even if it were, my check was wrong in the previous commit).

Luckily, the semantics of mount with MS_REMOUNT | MS_BIND make both
checks unnecessary: if /nix/store is not a mountpoint, then mount will
fail with EINVAL, and if /nix/store is not a bind-mount, then it will
not be made writable. Thus, if /nix/store is not a mountpoint, we fail
immediately (since we don't know how to make it writable), and if
/nix/store IS a mountpoint but not a bind-mount, we fail at first write
(see below for why we can't check and fail immediately).

Note that, due to what is IMO buggy behavior in Linux, calling mount
with MS_REMOUNT | MS_BIND on a non-bind readonly mount makes the
mountpoint appear writable in two places: In the sixth (but not the
10th!) column of mountinfo, and in the f_flags member of struct statfs.
All other syscalls behave as if the mount point were still readonly (at
least for Linux 3.9-rc1, but I don't think this has changed recently or
is expected to soon). My preferred semantics would be for MS_REMOUNT |
MS_BIND to fail on a non-bind mount, as it doesn't make sense to remount
a non bind-mount as a bind mount.
2013-03-25 19:00:16 +01:00
Shea Levy
2c9cf50746 makeStoreWritable: Use statvfs instead of /proc/self/mountinfo to find out if /nix/store is a read-only bind mount
/nix/store could be a read-only bind mount even if it is / in its own filesystem, so checking the 4th field in mountinfo is insufficient.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-25 19:00:16 +01:00