@@ -47,18 +47,18 @@ servers](#speeding-up-builds-with-substitute-servers) to speed up your build if
47
47
that fits your security model (say, if you're just testing that this works).
48
48
This is skippable if you're using the [ Dockerfile] [ fanquake/guix-docker ] .
49
49
50
- If you prefer not to use any substitutes, make sure to set
51
- ` ADDITIONAL_GUIX_ENVIRONMENT_FLAGS ` like the following snippet. The first build
52
- will take a while, but the resulting packages will be cached for future builds.
50
+ If you prefer not to use any substitutes, make sure to supply ` --no-substitutes `
51
+ like in the following snippet. The first build will take a while, but the
52
+ resulting packages will be cached for future builds.
53
53
54
54
``` sh
55
- export ADDITIONAL_GUIX_ENVIRONMENT_FLAGS =' --no-substitutes'
55
+ export ADDITIONAL_GUIX_COMMON_FLAGS =' --no-substitutes'
56
56
```
57
57
58
58
Likewise, to perform a bootstrapped build (takes even longer):
59
59
60
60
``` sh
61
- export ADDITIONAL_GUIX_ENVIRONMENT_FLAGS =' --bootstrap -- no-substitutes'
61
+ export ADDITIONAL_GUIX_COMMON_FLAGS =' --no-substitutes' ADDITIONAL_GUIX_ENVIRONMENT_FLAGS= ' --bootstrap '
62
62
```
63
63
64
64
### Using a version of Guix with ` guix time-machine ` capabilities
@@ -154,13 +154,22 @@ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
154
154
servers section] ( #speeding-up-builds-with-substitute-servers ) for more
155
155
details).
156
156
157
- * _ ** ADDITIONAL_GUIX_ENVIRONMENT_FLAGS ** _
157
+ * _ ** ADDITIONAL_GUIX_COMMON_FLAGS ** _
158
158
159
- Additional flags to be passed to ` guix environment ` . For a fully-bootstrapped
159
+ Additional flags to be passed to all ` guix ` commands . For a fully-bootstrapped
160
160
build, set this to ` --bootstrap --no-substitutes ` (refer to the [ security
161
161
model section] ( #choosing-your-security-model ) for more details). Note that a
162
162
fully-bootstrapped build will take quite a long time on the first run.
163
163
164
+ * _ ** ADDITIONAL_GUIX_TIMEMACHINE_FLAGS** _
165
+
166
+ Additional flags to be passed to ` guix time-machine ` .
167
+
168
+ * _ ** ADDITIONAL_GUIX_ENVIRONMENT_FLAGS** _
169
+
170
+ Additional flags to be passed to the invocation of ` guix environment ` inside
171
+ ` guix time-machine ` .
172
+
164
173
## Tips and Tricks
165
174
166
175
### Speeding up builds with substitute servers
0 commit comments