Anarchos has quit [Quit: Vision[]: i've been blurred!]
mbuf has quit [Quit: Leaving]
gopiandcode has quit [Ping timeout: 246 seconds]
jpds has quit [Remote host closed the connection]
gopiandcode has joined #ocaml
jpds has joined #ocaml
<d_bot_>
<darrenldl> i am stumped by `dune subst` failing with `Error: The project name is not defined, please add a (name <name>) field to your dune-project file.A`
<d_bot_>
<darrenldl> ive already got (name ...) inside a (package ...) in dune-project
<d_bot_>
<darrenldl>
<d_bot_>
<darrenldl> do i need a top level (name ...)?
<d_bot_>
<rgrinberg> you do if you'd like to use `dune subst`
<d_bot_>
<darrenldl> so it cant substitute on package by package basis(?
<d_bot_>
<darrenldl> and im just using the opam files generated by dune, though i guess i need to be on 3.0 to disable subst(?)
<d_bot_>
<rgrinberg> it's not smart enough for that.
<d_bot_>
<rgrinberg> i think you can always disable it manually by adding an opam template
<d_bot_>
<darrenldl> ah...
<d_bot_>
<darrenldl> i am confused by the scoping of dune-project hmmm
<d_bot_>
<darrenldl>
<d_bot_>
<darrenldl> so how would i proceed with top level (name ...) if i have multple packages in same repo?
<d_bot_>
<darrenldl> or am i not meant to do that
<d_bot_>
<rgrinberg> You are meant to do that. The toplevel name is for the project, so it's not related to the packages
<d_bot_>
<rgrinberg> You could think of it this way: dune infers your project name to be the package name if you only have one package
<d_bot_>
<rgrinberg> if you have more than one package, it asks you to decide the name of the project
dextaa4 has joined #ocaml
xgqt has quit [Ping timeout: 246 seconds]
bartholin has quit [Ping timeout: 246 seconds]
dextaa has quit [Ping timeout: 246 seconds]
dextaa4 is now known as dextaa
Haudegen has quit [Ping timeout: 246 seconds]
Haudegen has joined #ocaml
xgqt has joined #ocaml
<d_bot_>
<darrenldl> ohhhhh
<d_bot_>
<darrenldl> let me give that a try...thanks very much!
raskol has joined #ocaml
<d_bot_>
<darrenldl> hm...still fails
<d_bot_>
<darrenldl> let me do some sanity checks...
<d_bot_>
<darrenldl> right okay, --working-dir was not sufficient in convincing opam