rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zebrag>
`module A = struct type t = B end;;`, `let f A.B = 3;;`, `B;;` "unbound constructor B", `f B;; - : int = 3`. What is it called that I don't need to use the fully qualified form when in argument of `f` position?
<neiluj>
hey! trying to write some data in /tmp and it says "Read-only file system"
keyboard has joined #ocaml
<neiluj>
with opam install . --with-test
<neiluj>
and the writing occurs in a test
<neiluj>
is that a dune bug?
<neiluj>
open_out_bin raises this error
<sim642>
Opam does some sandboxing, but I think that should still allow /tmp access
<sim642>
Does it work outside of opam install?
mro has quit [Remote host closed the connection]
<neiluj>
good question, trying it
<neiluj>
yes it works
<neiluj>
dune test works
<neiluj>
but with opam install it fails, so maybe sandboxing
<neiluj>
is the culprit
<sim642>
Do you have your changes committed?
<sim642>
By default opam installs the latest committed state of the repo
<sim642>
You need to add --working-dir if you want it to copy committed changes
<neiluj>
yes changes committed
<neiluj>
if I create the directory with dune test it works, the files are also created. However with opam install either the directory in /tmp doesn't exist and Sys.mkdir fails or the dir exists and open_out fails
<neiluj>
with the same error read only file system,which is not the case
<neiluj>
so maybe opam does something here
<neiluj>
the best way would be to write inside the repo, right?
<neiluj>
using an environment variable to specify the directory
<neiluj>
ah yes opam install --with-test does sandboxing
<neiluj>
that's why
mro has joined #ocaml
mro has quit [Quit: Leaving...]
troydm has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
serpent is now known as Serpent7776
wingsorc has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
azimut has joined #ocaml
<neiluj>
hey! in a dune stanza I'd like to export an env var, but run expects an executable, not the export command from the shell
<neiluj>
there's setenv for that :)
Haudegen has quit [Quit: Bin weg.]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
Tuplanolla has joined #ocaml
jao has joined #ocaml
bgs has joined #ocaml
rgrinberg has joined #ocaml
olle has quit [Remote host closed the connection]
nd__ has quit [Ping timeout: 260 seconds]
azimut has quit [Remote host closed the connection]
nd__ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Ping timeout: 268 seconds]
mbuf has joined #ocaml
azimut has joined #ocaml
mbuf has quit [Client Quit]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
chrisz has quit [Quit: leaving]
nd__ has quit [Ping timeout: 268 seconds]
nd__ has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nd__ has quit [Remote host closed the connection]
nd__ has joined #ocaml
olle has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
nd__ has joined #ocaml
rgrinberg has joined #ocaml
nd__ has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
Haudegen has joined #ocaml
nd__ has joined #ocaml
deadmarshal has quit [Read error: Connection reset by peer]
deadmarshal has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troydm has joined #ocaml
trev has quit [Remote host closed the connection]
waleee has joined #ocaml
olle has quit [Quit: Lost terminal]
olle has joined #ocaml
Stumpfenstiel has joined #ocaml
mro has joined #ocaml
mro has quit [Quit: Leaving...]
cedric has joined #ocaml
sagax has joined #ocaml
nd__ has quit [Ping timeout: 265 seconds]
dnh has joined #ocaml
calvnce has quit [Quit: Client closed]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
salkin has quit [Ping timeout: 260 seconds]
neiluj has quit [Ping timeout: 260 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 268 seconds]
olle has quit [Ping timeout: 265 seconds]
darchitect has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
wingsorc has joined #ocaml
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
Stumpfenstiel has quit [Ping timeout: 256 seconds]
cedric has quit [Quit: Konversation terminated!]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]