@@ -47,18 +47,18 @@ servers](#speeding-up-builds-with-substitute-servers) to speed up your build if
4747that fits your security model (say, if you're just testing that this works).
4848This is skippable if you're using the [ Dockerfile] [ fanquake/guix-docker ] .
4949
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.
5353
5454``` sh
55- export ADDITIONAL_GUIX_ENVIRONMENT_FLAGS =' --no-substitutes'
55+ export ADDITIONAL_GUIX_COMMON_FLAGS =' --no-substitutes'
5656```
5757
5858Likewise, to perform a bootstrapped build (takes even longer):
5959
6060``` sh
61- export ADDITIONAL_GUIX_ENVIRONMENT_FLAGS =' --bootstrap -- no-substitutes'
61+ export ADDITIONAL_GUIX_COMMON_FLAGS =' --no-substitutes' ADDITIONAL_GUIX_ENVIRONMENT_FLAGS= ' --bootstrap '
6262```
6363
6464### Using a version of Guix with ` guix time-machine ` capabilities
@@ -154,13 +154,22 @@ find output/ -type f -print0 | sort -z | xargs -r0 sha256sum
154154 servers section] ( #speeding-up-builds-with-substitute-servers ) for more
155155 details).
156156
157- * _ ** ADDITIONAL_GUIX_ENVIRONMENT_FLAGS ** _
157+ * _ ** ADDITIONAL_GUIX_COMMON_FLAGS ** _
158158
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
160160 build, set this to ` --bootstrap --no-substitutes ` (refer to the [ security
161161 model section] ( #choosing-your-security-model ) for more details). Note that a
162162 fully-bootstrapped build will take quite a long time on the first run.
163163
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+
164173## Tips and Tricks
165174
166175### Speeding up builds with substitute servers
0 commit comments