We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1ac5951 + 36215fa commit 668d07dCopy full SHA for 668d07d
repo/darwin/packages/dev/tcpip.dev/url
@@ -1 +1 @@
1
-git: "https://github.com/samoht/mirage-tcpip.git#vpnkit"
+git: "https://github.com/djs55/mirage-tcpip.git#vpnkit"
scripts/common.sh
@@ -13,7 +13,13 @@ export OPAMROOT
13
export OPAMYES=1
14
export OPAMCOLORS=1
15
16
-opam init -v -n --comp="${OPAM_COMP}" --switch="${OPAM_COMP}" local "${OPAM_REPO}"
+# if a compiler is specified, use it; otherwise use the system compiler
17
+if [ -n "${OPAM_COMP}" ]; then
18
+ OPAM_COMP_ARG="--comp=${OPAM_COMP}"
19
+ OPAM_SWITCH_ARG="--switch=${OPAM_COMP}"
20
+fi
21
+
22
+opam init -v -n "${OPAM_COMP_ARG}" "${OPAM_SWITCH_ARG}" local "${OPAM_REPO}"
23
echo opam configuration is:
24
opam config env
25
eval $(opam config env)
0 commit comments