File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
repo/darwin/packages/dev/tcpip.dev Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
- git: "https://github.com/samoht /mirage-tcpip.git#vpnkit"
1
+ git: "https://github.com/djs55 /mirage-tcpip.git#vpnkit"
Original file line number Diff line number Diff line change @@ -13,7 +13,13 @@ export OPAMROOT
13
13
export OPAMYES=1
14
14
export OPAMCOLORS=1
15
15
16
- opam init -v -n --comp=" ${OPAM_COMP} " --switch=" ${OPAM_COMP} " local " ${OPAM_REPO} "
16
+ # 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} "
17
23
echo opam configuration is:
18
24
opam config env
19
25
eval $( opam config env)
You can’t perform that action at this time.
0 commit comments