00:05
sixfourtwelve has quit [Quit: leaving]
00:11
cr1901_ is now known as cr1901
01:08
Tuplanolla has quit [Quit: Leaving.]
02:17
jabuxas has quit [Ping timeout: 268 seconds]
02:36
pi3ce has joined #ocaml
04:19
companion_cube has quit [Quit: WeeChat 4.1.2]
04:19
discocaml has quit [Remote host closed the connection]
04:19
ocabot has quit [Remote host closed the connection]
04:19
ocabot has joined #ocaml
04:19
discocaml has joined #ocaml
04:19
companion_cube has joined #ocaml
06:48
mbuf has joined #ocaml
07:18
xd1le has quit [Quit: xd1le]
07:35
dnh has joined #ocaml
07:40
dnh has quit [Ping timeout: 260 seconds]
08:26
dnh has joined #ocaml
08:27
dnh has quit [Client Quit]
08:28
dnh has joined #ocaml
08:32
dnh has quit [Ping timeout: 255 seconds]
08:58
bartholin has joined #ocaml
09:37
Tuplanolla has joined #ocaml
09:39
rak has quit [Quit: Segmentation fault (core recycled)]
09:39
rak has joined #ocaml
10:28
octachron has joined #ocaml
10:30
Tuplanolla has quit [Quit: Leaving.]
10:41
torretto_ has quit [Remote host closed the connection]
10:41
torretto has joined #ocaml
10:47
szkl has quit [Quit: Connection closed for inactivity]
10:59
nickiminjaj has joined #ocaml
11:38
nickiminjaj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:39
nickiminjaj has joined #ocaml
12:13
nickiminjaj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:09
fererrorocher has quit [Quit: WeeChat 4.2.1]
13:09
fererrorocher has joined #ocaml
13:23
jabuxas has joined #ocaml
14:21
<
discocaml >
<lokasku> ```
14:21
<
discocaml >
<lokasku> $ opam install dream
14:21
<
discocaml >
<lokasku> [ERROR] No switch is currently set. Please use 'opam switch' to set or install a switch
14:21
<
discocaml >
<lokasku> ```
14:21
<
discocaml >
<lokasku> Is this due to the fact that there is no `.opam` in the current folder?
14:21
<
discocaml >
<lokasku> Is this due to the fact that there is no `.opam` in my current folder?
14:36
<
discocaml >
<._null._> No, it's due to the fact that no opam switch is set. Either you didn't do opam init, it didn't go to the end or you deleted your current switch. Use opam switch to fix this
14:38
<
discocaml >
<lokasku> `opam init` generates nothing at all.
14:38
<
discocaml >
<Kali> have you run `eval $(opam env)`
14:39
<
discocaml >
<lokasku> Yes
14:40
<
discocaml >
<._null._> What does opam switch show?
14:40
<
discocaml >
<lokasku> I'm using nixos, by the way, but I don't know if that's a factor
14:40
<
discocaml >
<lokasku> ```
14:40
<
discocaml >
<lokasku> # switch compiler description
14:40
<
discocaml >
<lokasku> ```
14:41
<
discocaml >
<._null._> Opam global switch are a bit antithetical to the Nix philosophy
14:41
<
discocaml >
<._null._> Opam global switches are a bit antithetical to the Nix philosophy
14:41
<
discocaml >
<._null._> I think you're just supposed to install all ocaml packages through nix
15:09
fererrorocher has quit [Quit: WeeChat 4.2.1]
15:10
fererrorocher has joined #ocaml
15:55
dnh has joined #ocaml
16:07
Anarchos has joined #ocaml
16:07
torretto has quit [Ping timeout: 260 seconds]
16:12
torretto has joined #ocaml
16:13
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:13
dnh has joined #ocaml
16:35
nickiminjaj has joined #ocaml
16:35
nickiminjaj has quit [Changing host]
16:35
nickiminjaj has joined #ocaml
16:45
alexherbo2 has joined #ocaml
16:56
mal`` has quit [Quit: Leaving]
16:59
fererrorocher has quit [Quit: WeeChat 4.2.1]
17:00
fererrorocher has joined #ocaml
17:11
fererrorocher has quit [Quit: WeeChat 4.2.1]
17:15
mal`` has joined #ocaml
17:29
mbuf has quit [Quit: Leaving]
17:43
<
discocaml >
<lokasku> Hi, I'm installing Dream, and I have this flake:
17:43
<
discocaml >
<lokasku> ```nix
17:43
<
discocaml >
<lokasku> let
17:43
<
discocaml >
<lokasku> pkgs = import <nixpkgs> {};
17:43
<
discocaml >
<lokasku> ocamlPackages = pkgs.ocaml-ng.ocamlPackages_4_12;
17:43
<
discocaml >
<lokasku> dream = ocamlPackages.buildDunePackage rec {
17:43
<
discocaml >
<lokasku> pname = "dream";
17:43
<
discocaml >
<lokasku> version = "0.15.0";
17:44
<
discocaml >
<lokasku>
17:44
<
discocaml >
<lokasku> minimalOCamlVersion = "4.12";
17:44
<
discocaml >
<lokasku>
17:44
<
discocaml >
<lokasku> src = pkgs.fetchFromGitHub {
17:44
<
discocaml >
<lokasku> owner = "aantron";
17:44
<
discocaml >
<lokasku> repo = pname;
17:44
<
discocaml >
<lokasku> rev = version;
17:44
<
discocaml >
<lokasku> hash = "sha256-vVRjQzDDeaiY047bBS0Ncvz1p3SpH8nlLBUs3Ay2aIs=";
17:44
<
discocaml >
<lokasku> };
17:44
<
discocaml >
<lokasku> propagatedBuildInputs = [
17:44
<
discocaml >
<lokasku> ocamlPackages.lwt_ppx
17:44
<
discocaml >
<lokasku> ocamlPackages.magic-mime
17:44
<
discocaml >
<lokasku> ];
17:44
<
discocaml >
<lokasku> };
17:44
<
discocaml >
<lokasku> in
17:44
<
discocaml >
<lokasku> pkgs.mkShell {
17:44
<
discocaml >
<lokasku> packages = [
17:44
<
discocaml >
<lokasku> pkgs.opam
17:44
<
discocaml >
<lokasku> pkgs.ocaml
17:44
<
discocaml >
<lokasku> pkgs.dune_3
17:44
<
discocaml >
<lokasku> ocamlPackages.findlib
17:44
<
discocaml >
<lokasku> ocamlPackages.ocaml-lsp
17:44
<
discocaml >
<lokasku> ] ++ [ dream ];
17:44
<
discocaml >
<lokasku> }
17:44
<
discocaml >
<lokasku> ```nix
17:44
<
discocaml >
<lokasku> error: builder for '/nix/store/kqgwf0vmhxa3asg2mpc7cc5jxh3lr79w-ocaml4.12.1-dream-0.15.0.drv' failed with exit code 1;
17:44
<
discocaml >
<lokasku> last 10 log lines:
17:44
<
discocaml >
<lokasku> > File "src/unix/dune", line 6, characters 2-12:
17:44
<
discocaml >
<lokasku> > 6 | dream-pure
17:44
<
discocaml >
<lokasku> > ^^^^^^^^^^
17:44
<
discocaml >
<lokasku> > Error: Library "dream-pure" not found.
17:44
<
discocaml >
<lokasku> > -> required by library "dream.unix" in _build/default/src/unix
17:44
<
discocaml >
<lokasku> > -> required by _build/default/META.dream
17:44
<
discocaml >
<lokasku> > -> required by _build/install/default/lib/dream/META
17:44
<
discocaml >
<lokasku> > -> required by _build/default/dream.install
17:44
<
discocaml >
<lokasku> > -> required by alias install
17:44
<
discocaml >
<lokasku> >
17:44
<
discocaml >
<lokasku> ```I have this error telling me that `dream-pure` is missing
17:44
<
discocaml >
<lokasku> But it's a Dream module, not a dependency. What should I do for those who use Nix
17:46
<
discocaml >
<smondet> (There is a #nix channel BTW)
17:47
<
discocaml >
<lokasku> Sorry
17:49
<
Anarchos >
lokasku you can also use a paste website for error logs and just post the url here
17:53
alexherbo2 has quit [Remote host closed the connection]
17:54
alexherbo2 has joined #ocaml
17:59
<
Anarchos >
my config.log says natdynlink='true' but i can't find dynlink.cmxs after make world.opt.
18:04
<
Anarchos >
i am on 4.14.2
18:19
Anarchos has quit [Quit: Vision[]: i've been blurred!]
18:46
zanetti has joined #ocaml
18:47
jabuxas has quit [Ping timeout: 268 seconds]
18:53
fererrorocher has joined #ocaml
19:06
zanetti has quit [Quit: zanetti]
19:08
fererrorocher has quit [Quit: WeeChat 4.2.1]
19:31
fererrorocher has joined #ocaml
20:02
Anarchos has joined #ocaml
21:18
jabuxas has joined #ocaml
21:38
oriba has joined #ocaml
21:40
pi3ce has quit [Ping timeout: 240 seconds]
21:40
pi3ce has joined #ocaml
21:59
<
Anarchos >
do people compiled compcert here ?
22:14
fererrorocher has quit [Quit: WeeChat 4.2.1]
22:50
bartholin has quit [Quit: Leaving]
23:39
alexherbo2 has quit [Remote host closed the connection]