File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 2
2
export LC_ALL=C
3
3
set -e -o pipefail
4
4
5
+ # ##################
6
+ # # Sanity Checks ##
7
+ # ##################
8
+
5
9
# GUIX_BUILD_OPTIONS is an environment variable recognized by guix commands that
6
10
# can perform builds. This seems like what we want instead of
7
11
# ADDITIONAL_GUIX_COMMON_FLAGS, but the value of GUIX_BUILD_OPTIONS is actually
26
30
exit 1
27
31
fi
28
32
33
+ # ########
34
+ # Setup #
35
+ # ########
36
+
29
37
# Determine the maximum number of jobs to run simultaneously (overridable by
30
38
# environment)
31
39
MAX_JOBS=" ${MAX_JOBS:- $(nproc)} "
@@ -49,6 +57,10 @@ time-machine() {
49
57
-- " $@ "
50
58
}
51
59
60
+ # ########
61
+ # Build #
62
+ # ########
63
+
52
64
# Function to be called when building for host ${1} and the user interrupts the
53
65
# build
54
66
int_trap () {
You can’t perform that action at this time.
0 commit comments