Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Louis Gesbert
opam-custom-install
Commits
d4449b38
Commit
d4449b38
authored
Dec 01, 2022
by
Raja Boujbel
Browse files
fixup! fixup! fixup! add test
parent
dcc71cb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
opam-custom-install.ml
opam-custom-install.ml
+4
-0
test/test.t
test/test.t
+0
-9
No files found.
opam-custom-install.ml
View file @
d4449b38
...
...
@@ -195,6 +195,10 @@ let custom_install cli =
Empty
))
depends
in
(*
OpamConsole.error "old depends %s" (OpamFilter.string_of_filtered_formula depends);
OpamConsole.error "new depends %s" (OpamFilter.string_of_filtered_formula patched_depends);
*)
(* todo? Also remove installed conflicts? *)
let
pin_opam_file
=
pin_opam_file
...
...
test/test.t
View file @
d4449b38
...
...
@@ -640,13 +640,6 @@ ERROR: should reinstall depopt?
->
installed
baz
-
depopt
.1
[
ERROR
]
The
compilation
of
baz
.
dev
failed
at
"
false local
"
.
#=== ERROR while compiling baz.dev ============================================#
# context 2.2.0~alpha~dev | linux/x86_64 | | pinned
# path ~/ocamlpro/opam-custom-install/_build/.sandbox/7ec8d5c3ee7033cb2da4e71f5604ba7c/default/test/OPAMROOT/one/.opam-switch/build/baz.dev
# command ~/ocamlpro/opam-custom-install/_build/.sandbox/7ec8d5c3ee7033cb2da4e71f5604ba7c/default/test/OPAMROOT/opam-init/hooks/sandbox.sh build false local
# exit-code 1
# env-file ~/ocamlpro/opam-custom-install/_build/.sandbox/7ec8d5c3ee7033cb2da4e71f5604ba7c/default/test/OPAMROOT/log/baz-1520077-07745a.env
# output-file ~/ocamlpro/opam-custom-install/_build/.sandbox/7ec8d5c3ee7033cb2da4e71f5604ba7c/default/test/OPAMROOT/log/baz-1520077-07745a.out
...
...
@@ -661,10 +654,8 @@ ERROR: should reinstall depopt?
+-
The
former
state
can
be
restored
with:
/home/
rjbou
/ocp_usr/
bin
/opam switch import "$TESTCASE_ROOT/
OPAMROOT
/one/
.
opam
-
switch
/backup/s
tate
-
20221129171534
.
export
"
Or
you
can
retry
to
install
your
package
selection
with:
/home/
rjbou
/ocp_usr/
bin
/
opam
install
--
restore
[31]
$
rm
c
-
installed
$
opam
unpin
baz
Ok
,
baz
is
no
longer
pinned
locally
(
version
dev
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment