Commit graph

18042 commits

Author SHA1 Message Date
Vincent Ambo
6cc143a6ff
[locales] Update repoURL 2015-11-21 03:18:46 +01:00
Vincent Ambo
77c376e283
[all] Fix all warnings 2015-11-21 03:18:08 +01:00
Vincent Ambo
c2fe73b027
[cabal] Enable warnings 2015-11-21 03:04:43 +01:00
Vincent Ambo
68824a4156
[all] Stylish Haskell import formatting 2015-11-21 03:02:56 +01:00
Vincent Ambo
3b3f6497bd
[blog] Always link title to / 2015-11-21 03:02:05 +01:00
Vincent Ambo
308e859d56
[blog] Split request handling, do HTTP better
* request handling split into multiple smaller handlers
* use request methods in various places instead of different routes
* some minor updates to admin page
2015-11-21 02:59:34 +01:00
Vincent Ambo
7610e79013
[db] Update interactiveUserAdd for remote state 2015-11-21 02:59:03 +01:00
Vincent Ambo
30e9f29fe1
Remove site notice 2015-11-21 02:56:51 +01:00
Vincent Ambo
4fa4e20f9b
[5.1-beta] Begin beta branch 2015-11-21 02:56:05 +01:00
Vincent Ambo
c1bdfe5a66 [varnish] Don't remove the /en/ for now 2015-11-20 10:58:33 +01:00
Vincent Ambo
fdc20d3c82 [k8s] Hitch should connect to Varnish, not the blog 2015-11-20 10:58:15 +01:00
Vincent Ambo
df93cead28 [k8s] Add Kubernetes service & RC files 2015-11-20 01:59:52 +01:00
Vincent Ambo
1342e8fb1d Reinstate some language handling 2015-11-20 01:53:38 +01:00
Jude Taylor
b9b7bb1806 re-fix permissions for GHC 2015-11-19 16:06:21 -08:00
Shea Levy
5deb7fbdfb Merge branch 'sandbox-profiles' of git://github.com/pikajude/nix
Temporarily allow derivations to describe their full sandbox profile.
This will be eventually scaled back to a more secure setup, see the
discussion at #695
2015-11-19 17:44:11 -05:00
Vincent Ambo
c60a856388 Version 5.0 \o/ 2015-11-19 22:34:04 +01:00
Vincent Ambo
850d8d79a7 [varnish] Add Varnish configuration and Dockerfile 2015-11-19 22:30:07 +01:00
Vincent Ambo
db1ae9930c Remove old tools 2015-11-19 19:32:02 +01:00
Vincent Ambo
b38216c162 Update Dockerfile slightly 2015-11-19 19:31:25 +01:00
Vincent Ambo
fc0bfd470a Implement remote acid-state support in blog 2015-11-19 19:28:36 +01:00
Vincent Ambo
e9f044e6d5 Add tazblog-db executable 2015-11-19 19:04:21 +01:00
Vincent Ambo
0f6ff6310e [5.0-beta] Split into library and executable 2015-11-19 18:31:06 +01:00
Vincent Ambo
71b2ccd927 Begin cleaning up old things 2015-11-19 18:16:34 +01:00
Vincent Ambo
f703c03916 [build] Finish new Dockerfile 2015-11-19 17:53:05 +01:00
Vincent Ambo
fa514a9d3e [build] Prepare new Docker setup 2015-11-19 16:57:03 +01:00
Vincent Ambo
853be2a99c [build] Use Stack for building 2015-11-19 16:21:15 +01:00
Eelco Dolstra
33f2fbcb62 Merge pull request #707 from peti/master
src/libstore/build.cc: clarify error message for hash mismatches
2015-11-19 13:49:57 +01:00
Peter Simons
6ad10591ce src/libstore/build.cc: clarify error message for hash mismatches
Nix reports a hash mismatch saying:

  output path ‘foo’ should have sha256 hash ‘abc’, instead has ‘xyz’

That message is slightly ambiguous and some people read that statement
to mean the exact opposite of what it is supposed to mean. After this
patch, the message will be:

  Nix expects output path ‘foo’ to have sha256 hash ‘abc’, instead it has ‘xyz’
2015-11-19 12:42:37 +01:00
Jude Taylor
36f7fcc157 Merge pull request #1 from shlevy/sandbox-profiles
Use AutoDelete for sandbox profile file
2015-11-17 10:08:47 -08:00
janus
8a74a125bc FreeBSD can build Linux 32-bit binaries 2015-11-17 14:16:08 +00:00
Shea Levy
1d3529e93a Default arguments belong at declaration, not definition 2015-11-16 05:55:55 -05:00
Shea Levy
9b4cd20752 Fix copy-paste error 2015-11-16 05:54:34 -05:00
Shea Levy
58d2fac91d AutoDelete: Add default constructor with deletion disabled 2015-11-16 05:53:10 -05:00
Shea Levy
4390142315 Use AutoDelete for sandbox profile file 2015-11-15 06:08:50 -05:00
W. Greenhouse
3b19dad162 Limit X host-based auth permissions.
We don't need more than the currently logged in user
to have access to the X session, so don't grant X host access
to other users.
2015-11-15 03:35:54 +00:00
Jude Taylor
bd09a4c967 simplify build.cc using modern C++ features 2015-11-14 14:11:03 -08:00
Jude Taylor
4876bb012e simplify build permissions 2015-11-14 14:11:03 -08:00
Jude Taylor
d760c2638c remove sandbox-defaults.sb 2015-11-14 14:11:03 -08:00
Jude Taylor
22dfd023fa update sandbox profiles within nix 2015-11-14 14:11:03 -08:00
Jude Taylor
8a7f0dfd68 use per-derivation sandbox profiles 2015-11-14 14:10:43 -08:00
Vladimír Čunát
b39622a487 rename chroot to sandbox (fixes #656, close #682)
- rename options but leav old names as lower-priority aliases,
  also "-dirs" -> "-paths" to get closer to the meaning
- update docs to reflect the new names (old aliases are not documented),
  including a new file with release notes
- tests need an update after corresponding changes to nixpkgs
- __noChroot is left as it is (after discussion on the PR)
2015-11-10 22:32:51 +01:00
Eelco Dolstra
9ee15abe30 Fix bad characters in "copying 7 missing paths from ..." 2015-11-10 16:12:26 +01:00
Chris Feng
a295a15ff6 Fix a typo
* exwm-manage.el (exwm-manage--on-MapRequest): Correct a wrong variable
name.
2015-11-10 19:10:56 +08:00
Eelco Dolstra
8fdd156a65 Add option to verify build determinism
Passing "--option build-repeat <N>" will cause every build to be
repeated N times. If the build output differs between any round, the
build is rejected, and the output paths are not registered as
valid. This is primarily useful to verify build determinism. (We
already had a --check option to repeat a previously succeeded
build. However, with --check, non-deterministic builds are registered
in the DB. Preventing that is useful for Hydra to ensure that
non-deterministic builds don't end up getting published at all.)
2015-11-09 23:16:24 +01:00
Eelco Dolstra
96c2ebf004 Revert "Allow using /bin and /usr/bin as impure prefixes on non-darwin by default"
This reverts commit 79ca503332. Ouch,
never noticed this. We definitely don't want to allow builds to have
arbitrary access to /bin and /usr/bin, because then they can (for
instance) bring in a bunch of setuid programs. Also, we shouldn't be
encouraging the use of impurities in the default configuration.
2015-11-09 21:28:38 +01:00
Eelco Dolstra
4384bbd2e1 optimizePath(): Detect some .links corruption
If automatic store optimisation is enabled, and a hard-linked file in
the store gets corrupted, then the corresponding .links entry will
also be corrupted. In that case, trying to repair with --repair or
--repair-path won't work, because the new "good" file will be replaced
by a hard link to the corrupted file. We can catch most of these cases
by doing a sanity-check on the file sizes.
2015-11-09 21:28:25 +01:00
Eelco Dolstra
7759a56bed Fix namespace issue 2015-11-09 21:28:25 +01:00
Shea Levy
8a2a3b6579 Merge branch 'libsystem-darwin-only'
Only require libsystem on darwin
2015-11-08 14:39:50 -05:00
Shea Levy
8a76bc9fb0 Only require libsystem on darwin
Fixes #688
2015-11-08 14:18:15 -05:00
Danny Wilson
cdb346c65e Fix build on Solaris
d_type is not part of the POSIX spec unfortunately.
2015-11-07 04:51:33 +01:00