John Ericson
|
0fefc2a439
|
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
|
2020-10-14 20:49:01 +00:00 |
|
Eelco Dolstra
|
11882d7c7c
|
Create /etc/passwd *after* figuring out the sandbox uid/gid
Fixes build failures like
# nix log /nix/store/gjaa0psfcmqvw7ivggsncx9w364p3s8s-sshd.conf-validated.drv
No user exists for uid 30012
|
2020-10-14 12:20:58 +02:00 |
|
John Ericson
|
55592b253f
|
Add some more docs
|
2020-10-13 18:04:24 +00:00 |
|
John Ericson
|
13804f126e
|
Merge remote-tracking branch 'upstream/master' into typed-goal-maps
|
2020-10-13 18:02:32 +00:00 |
|
Eelco Dolstra
|
2653801939
|
Merge branch 'split_build_cc' of https://github.com/obsidiansystems/nix
|
2020-10-13 15:36:55 +02:00 |
|
John Ericson
|
1b8ebe92dc
|
Merge remote-tracking branch 'obsidian/split_build_cc' into typed-goal-maps
|
2020-10-12 20:47:22 +00:00 |
|
John Ericson
|
a73959e6be
|
Merge remote-tracking branch 'upstream/master' into split_build_cc
|
2020-10-12 17:20:46 +00:00 |
|
John Ericson
|
d334fd4882
|
Merge branches 'split_build_hh-0', 'split_build_hh-1', 'split_build_hh-2', 'split_build_hh-3' and 'split_build_hh-4' into split_build_cc
|
2020-10-12 17:20:12 +00:00 |
|
John Ericson
|
542972f029
|
Trim worker.hh
|
2020-10-12 17:16:48 +00:00 |
|
John Ericson
|
0e2306204a
|
Rename to hand-hold git (worker.hh)
|
2020-10-12 17:16:48 +00:00 |
|
John Ericson
|
3ffa3546bd
|
Trim substitution-goal.hh
|
2020-10-12 17:16:25 +00:00 |
|
John Ericson
|
e77a2344d5
|
Rename to hand-hold git (substitution-goal.hh)
|
2020-10-12 17:16:25 +00:00 |
|
John Ericson
|
d585b4c54f
|
Trim hook-instance.hh
|
2020-10-12 17:16:13 +00:00 |
|
John Ericson
|
10b749a156
|
Rename to hand-hold git (hook-instance.hh)
|
2020-10-12 17:16:13 +00:00 |
|
John Ericson
|
8067d32f2a
|
Trim goal.hh
|
2020-10-12 17:16:00 +00:00 |
|
John Ericson
|
0d0e345cdc
|
Rename to hand-hold git (goal.hh)
|
2020-10-12 17:16:00 +00:00 |
|
John Ericson
|
2ce726947a
|
Trim derivation-goal.hh
|
2020-10-12 17:15:32 +00:00 |
|
John Ericson
|
4eb8c69853
|
Rename to hand-hold git (derivation-goal.hh)
|
2020-10-12 17:15:32 +00:00 |
|
John Ericson
|
f7099965bf
|
Change .cc files to use split build headers
|
2020-10-12 17:08:52 +00:00 |
|
John Ericson
|
5a97621d6d
|
Prepare for build/*.hh headers
|
2020-10-12 17:07:51 +00:00 |
|
volth
|
eee18f88dd
|
Handle amount of disk space saved by hard linking being negative
Fixes bogus messages like "currently hard linking saves 17592186044416.00 MiB".
|
2020-10-12 16:06:38 +00:00 |
|
John Ericson
|
15fdb7cc6b
|
Split out uds-remote-store.{cc.hh}
|
2020-10-11 17:37:05 +00:00 |
|
John Ericson
|
38e3897162
|
Copy {uds-,}remote-store.{cc,hh}
This prepares for the splitting that happens in the next commit.
|
2020-10-11 17:18:26 +00:00 |
|
John Ericson
|
5c74a6147b
|
Properly type the derivation and substitution goal maps
As a bonus, Worker::removeGoal is less inefficient.
|
2020-10-11 17:07:14 +00:00 |
|
John Ericson
|
8cc510fb79
|
Merge branches 'build-1', 'build-2', 'build-3', 'build-4', 'build-5', 'build-6', 'build-7' and 'build-8' into split_build_cc
|
2020-10-11 16:44:34 +00:00 |
|
John Ericson
|
bcb67e1ed8
|
Trim lock.cc
|
2020-10-11 16:44:19 +00:00 |
|
John Ericson
|
e0be04129b
|
Rename to hand-hold git (lock.cc)
|
2020-10-11 16:44:14 +00:00 |
|
John Ericson
|
dbc588651c
|
Trim lock.hh
|
2020-10-11 16:44:07 +00:00 |
|
John Ericson
|
d0004bfcab
|
Rename to hand-hold git (lock.hh)
|
2020-10-11 16:43:59 +00:00 |
|
John Ericson
|
eed53ed87a
|
Trim build/worker.cc
|
2020-10-11 16:43:51 +00:00 |
|
John Ericson
|
904e315dae
|
Rename to hand-hold git (build/worker.cc)
|
2020-10-11 16:43:42 +00:00 |
|
John Ericson
|
d24ffe0eb1
|
Trim build/substitution-goal.cc
|
2020-10-11 16:43:24 +00:00 |
|
John Ericson
|
3633b3572b
|
Rename to hand-hold git (build/substitution-goal.cc)
|
2020-10-11 16:43:18 +00:00 |
|
John Ericson
|
4bdff7d1b0
|
Trim build/local-store-build.cc
|
2020-10-11 16:43:12 +00:00 |
|
John Ericson
|
dc5225cde5
|
Rename to hand-hold git (build/local-store-build.cc)
|
2020-10-11 16:43:05 +00:00 |
|
John Ericson
|
159054f730
|
Trim build/hook-instance.cc
|
2020-10-11 16:42:35 +00:00 |
|
John Ericson
|
f0b8987299
|
Rename to hand-hold git (build/hook-instance.cc)
|
2020-10-11 16:42:08 +00:00 |
|
John Ericson
|
819fe848ac
|
Trim build/goal.cc
|
2020-10-11 16:41:58 +00:00 |
|
John Ericson
|
184bfc301e
|
Rename to hand-hold git (build/goal.cc)
|
2020-10-11 16:41:18 +00:00 |
|
John Ericson
|
3bab1c5bb0
|
Trim build/derivation-goal.cc
|
2020-10-11 16:41:11 +00:00 |
|
John Ericson
|
9629290eda
|
Rename to hand-hold git (build/derivation-goal.cc)
|
2020-10-11 16:40:52 +00:00 |
|
John Ericson
|
a4f0fecb03
|
Trim build.hh
|
2020-10-11 16:40:34 +00:00 |
|
John Ericson
|
fc72cb0760
|
Rename to hand-hold git (build.hh)
|
2020-10-11 16:40:14 +00:00 |
|
John Ericson
|
428536fd75
|
Prepare for build/* files
|
2020-10-11 16:39:08 +00:00 |
|
John Ericson
|
aef44cbaa9
|
Split out commonChildInit
|
2020-10-11 16:38:46 +00:00 |
|
John Ericson
|
6cc1541782
|
Split out local-fs-store.hh
This matches the already-existing `local-fs-store.cc`.
|
2020-10-09 20:18:08 +00:00 |
|
Eelco Dolstra
|
636ec17139
|
Remove stray DerivationOutputsAndPaths type
|
2020-10-09 15:41:24 +02:00 |
|
Eelco Dolstra
|
97ffc1e013
|
Dynamically disable user namespaces if CLONE_NEWUSER fails
This makes builds work inside nixos-enter.
Fixes #3145.
|
2020-10-07 22:46:01 +02:00 |
|
Eelco Dolstra
|
6aa64627c8
|
Support user namespaces being disabled
If max_user_namespaces is set to 0, then don't run the build in a user
namespace.
Fixes #4092.
|
2020-10-07 22:02:36 +02:00 |
|
Eelco Dolstra
|
f66bbd8c7b
|
Doh
|
2020-10-07 21:25:06 +02:00 |
|