00:22
Tuplanolla has quit [Quit: Leaving.]
01:06
perrierjouet has quit [Quit: WeeChat 3.8]
01:13
spip has quit [Quit: Konversation terminated!]
01:35
perrierjouet has joined #ocaml
02:09
Stumpfenstiel has quit [Ping timeout: 248 seconds]
02:38
Haudegen has quit [Ping timeout: 276 seconds]
02:43
chrisz has quit [Ping timeout: 248 seconds]
02:45
waleee has quit [Ping timeout: 276 seconds]
03:00
chrisz has joined #ocaml
03:43
terrorjack has joined #ocaml
03:53
daimrod has quit [Ping timeout: 268 seconds]
04:00
chrisz has quit [Ping timeout: 268 seconds]
04:01
chrisz has joined #ocaml
04:02
chrisz has quit [*.net *.split]
04:02
farn__ has quit [*.net *.split]
04:02
lisq has quit [*.net *.split]
04:02
Riviera has quit [*.net *.split]
04:02
gentauro has quit [*.net *.split]
04:02
Absalom has quit [*.net *.split]
04:02
szkl has quit [*.net *.split]
04:02
infinity0 has quit [*.net *.split]
04:02
masterbuilder has quit [*.net *.split]
04:02
ns12 has quit [*.net *.split]
04:02
motherfsck has quit [*.net *.split]
04:02
fds_ has quit [*.net *.split]
04:02
mal``` has quit [*.net *.split]
04:02
gahr has quit [*.net *.split]
04:02
hannes has quit [*.net *.split]
04:02
sim642 has quit [*.net *.split]
04:02
theblatte has quit [*.net *.split]
04:02
dinosaure2 has quit [*.net *.split]
04:02
jsoo_ has quit [*.net *.split]
04:02
oisota has quit [*.net *.split]
04:02
nore has quit [*.net *.split]
04:02
AnuragSoni[m] has quit [*.net *.split]
04:02
Putonlalla has quit [*.net *.split]
04:02
noddy has quit [*.net *.split]
04:02
perrierjouet has quit [*.net *.split]
04:02
Exa has quit [*.net *.split]
04:02
haesbaert has quit [*.net *.split]
04:02
trillion_exabyte has quit [*.net *.split]
04:02
pieguy128 has quit [*.net *.split]
04:02
dh` has quit [*.net *.split]
04:02
genpaku has quit [*.net *.split]
04:02
hrberg has quit [*.net *.split]
04:02
dstein64 has quit [*.net *.split]
04:02
pippijn has quit [*.net *.split]
04:02
tjnhxmzhmqgytuwt has quit [*.net *.split]
04:02
georgyo[m] has quit [*.net *.split]
04:02
cross has quit [*.net *.split]
04:02
tomku has quit [*.net *.split]
04:02
zebrag[m] has quit [*.net *.split]
04:02
mclovin has quit [*.net *.split]
04:02
xenu has quit [*.net *.split]
04:02
thizanne has quit [*.net *.split]
04:02
midgard has quit [*.net *.split]
04:02
CalimeroTeknik has quit [*.net *.split]
04:02
ohperitel has quit [*.net *.split]
04:02
Leonidas has quit [*.net *.split]
04:02
pukkamustard has quit [*.net *.split]
04:02
slothby has quit [*.net *.split]
04:02
jyc has quit [*.net *.split]
04:02
root2 has quit [*.net *.split]
04:02
Duns_Scrotus__ has quit [*.net *.split]
04:02
jackhill has quit [*.net *.split]
04:02
bronsen has quit [*.net *.split]
04:02
xgqt has quit [*.net *.split]
04:02
omegatron has quit [*.net *.split]
04:02
ralu1 has quit [*.net *.split]
04:02
technomancy[m] has quit [*.net *.split]
04:02
m5zs7k has quit [*.net *.split]
04:02
berberman_ has quit [*.net *.split]
04:02
grobe0ba has quit [*.net *.split]
04:02
rwmjones|HOL has quit [*.net *.split]
04:02
habnabit_ has quit [*.net *.split]
04:02
duckie has quit [*.net *.split]
04:02
reynir[m] has quit [*.net *.split]
04:02
notnotdan has quit [*.net *.split]
04:02
emp_ has quit [*.net *.split]
04:02
Wojciech_K has quit [*.net *.split]
04:02
nfc has quit [*.net *.split]
04:02
Geekingfrog has quit [*.net *.split]
04:02
lobo[m] has quit [*.net *.split]
04:02
greenbagels has quit [*.net *.split]
04:02
johnel has quit [*.net *.split]
04:02
azimut has quit [*.net *.split]
04:02
quernd has quit [*.net *.split]
04:02
Fardale has quit [*.net *.split]
04:02
ansiwen has quit [*.net *.split]
04:02
discocaml has quit [*.net *.split]
04:02
lobo has quit [*.net *.split]
04:02
ebb has quit [*.net *.split]
04:02
sadiq_ has quit [*.net *.split]
04:02
megeve has quit [*.net *.split]
04:02
Armael has quit [*.net *.split]
04:02
cbarrett has quit [*.net *.split]
04:02
octachron has quit [*.net *.split]
04:03
lobo has joined #ocaml
04:03
ansiwen has joined #ocaml
04:03
xgqt has joined #ocaml
04:03
Riviera has joined #ocaml
04:03
farn__ has joined #ocaml
04:03
perrierjouet has joined #ocaml
04:03
Fardale has joined #ocaml
04:03
lisq has joined #ocaml
04:03
haesbaert has joined #ocaml
04:03
Exa has joined #ocaml
04:03
trillion_exabyte has joined #ocaml
04:03
Absalom has joined #ocaml
04:03
gentauro has joined #ocaml
04:03
azimut has joined #ocaml
04:03
motherfsck has joined #ocaml
04:03
szkl has joined #ocaml
04:03
pieguy128 has joined #ocaml
04:03
infinity0 has joined #ocaml
04:03
theblatte has joined #ocaml
04:03
masterbuilder has joined #ocaml
04:03
fds_ has joined #ocaml
04:03
ns12 has joined #ocaml
04:03
quernd has joined #ocaml
04:03
mal``` has joined #ocaml
04:03
gahr has joined #ocaml
04:03
ralu1 has joined #ocaml
04:03
nore has joined #ocaml
04:03
emp_ has joined #ocaml
04:03
oisota has joined #ocaml
04:03
m5zs7k has joined #ocaml
04:03
jsoo_ has joined #ocaml
04:03
sim642 has joined #ocaml
04:03
duckie has joined #ocaml
04:03
hannes has joined #ocaml
04:03
dinosaure2 has joined #ocaml
04:03
berberman_ has joined #ocaml
04:03
dh` has joined #ocaml
04:03
technomancy[m] has joined #ocaml
04:03
tjnhxmzhmqgytuwt has joined #ocaml
04:03
habnabit_ has joined #ocaml
04:03
reynir[m] has joined #ocaml
04:03
georgyo[m] has joined #ocaml
04:03
Putonlalla has joined #ocaml
04:03
genpaku has joined #ocaml
04:03
AnuragSoni[m] has joined #ocaml
04:03
Wojciech_K has joined #ocaml
04:03
cross has joined #ocaml
04:03
hrberg has joined #ocaml
04:03
noddy has joined #ocaml
04:03
dstein64 has joined #ocaml
04:03
pippijn has joined #ocaml
04:03
tomku has joined #ocaml
04:03
jyc has joined #ocaml
04:03
megeve has joined #ocaml
04:03
xenu has joined #ocaml
04:03
Armael has joined #ocaml
04:03
mclovin has joined #ocaml
04:03
zebrag[m] has joined #ocaml
04:03
thizanne has joined #ocaml
04:03
lobo[m] has joined #ocaml
04:03
midgard has joined #ocaml
04:03
Leonidas has joined #ocaml
04:03
CalimeroTeknik has joined #ocaml
04:03
cbarrett has joined #ocaml
04:03
ohperitel has joined #ocaml
04:03
slothby has joined #ocaml
04:03
pukkamustard has joined #ocaml
04:03
root2 has joined #ocaml
04:03
rwmjones|HOL has joined #ocaml
04:03
Duns_Scrotus__ has joined #ocaml
04:03
johnel has joined #ocaml
04:03
jackhill has joined #ocaml
04:03
notnotdan has joined #ocaml
04:03
bronsen has joined #ocaml
04:03
Geekingfrog has joined #ocaml
04:03
greenbagels has joined #ocaml
04:03
nfc has joined #ocaml
04:03
octachron has joined #ocaml
04:03
chrisz has joined #ocaml
04:03
grobe0ba has joined #ocaml
04:03
omegatron has joined #ocaml
04:03
sadiq_ has joined #ocaml
04:03
discocaml has joined #ocaml
04:03
ebb has joined #ocaml
04:03
ggb has quit [Max SendQ exceeded]
04:03
whereiseveryone has quit [Max SendQ exceeded]
04:03
hexology has quit [Max SendQ exceeded]
04:03
justache has quit [Max SendQ exceeded]
04:03
gdd has quit [Max SendQ exceeded]
04:03
ggb has joined #ocaml
04:03
discocaml has quit [Excess Flood]
04:03
Fardale has quit [*.net *.split]
04:03
quernd has quit [*.net *.split]
04:03
lobo has quit [*.net *.split]
04:03
ansiwen has quit [*.net *.split]
04:03
ebb has quit [*.net *.split]
04:03
sadiq_ has quit [*.net *.split]
04:03
megeve has quit [*.net *.split]
04:03
Armael has quit [*.net *.split]
04:03
cbarrett has quit [*.net *.split]
04:03
octachron has quit [*.net *.split]
04:03
hexology has joined #ocaml
04:03
whereiseveryone has joined #ocaml
04:04
discocaml has joined #ocaml
04:04
quernd has joined #ocaml
04:04
ansiwen has joined #ocaml
04:04
lobo has joined #ocaml
04:04
Fardale has joined #ocaml
04:04
megeve has joined #ocaml
04:04
sadiq_ has joined #ocaml
04:04
Armael has joined #ocaml
04:04
cbarrett has joined #ocaml
04:04
octachron has joined #ocaml
04:04
justache- has joined #ocaml
04:04
justache- has quit [Max SendQ exceeded]
04:05
gdd has joined #ocaml
04:06
AnuragSoni[m] has quit [Ping timeout: 246 seconds]
04:06
tjnhxmzhmqgytuwt has quit [Ping timeout: 252 seconds]
04:06
georgyo[m] has quit [Ping timeout: 252 seconds]
04:06
zebrag[m] has quit [Ping timeout: 252 seconds]
04:06
mclovin has quit [Ping timeout: 252 seconds]
04:06
lobo[m] has quit [Ping timeout: 246 seconds]
04:06
duckie has quit [Ping timeout: 260 seconds]
04:06
reynir[m] has quit [Ping timeout: 260 seconds]
04:07
technomancy[m] has quit [Ping timeout: 264 seconds]
04:07
megeve has quit [Ping timeout: 246 seconds]
04:08
megeve has joined #ocaml
04:08
justache has joined #ocaml
04:09
azimut has quit [*.net *.split]
04:09
azimut has joined #ocaml
04:09
greenbagels has quit [*.net *.split]
04:09
johnel has quit [*.net *.split]
04:09
emp_ has quit [*.net *.split]
04:09
Wojciech_K has quit [*.net *.split]
04:09
Geekingfrog has quit [*.net *.split]
04:09
nfc has quit [*.net *.split]
04:09
johnel has joined #ocaml
04:09
greenbagels has joined #ocaml
04:09
emp_ has joined #ocaml
04:09
nfc has joined #ocaml
04:09
Wojciech_K has joined #ocaml
04:09
Geekingfrog has joined #ocaml
04:10
habnabit_ has quit [*.net *.split]
04:10
notnotdan has quit [*.net *.split]
04:10
m5zs7k has quit [*.net *.split]
04:10
grobe0ba has quit [*.net *.split]
04:10
berberman_ has quit [*.net *.split]
04:10
rwmjones|HOL has quit [*.net *.split]
04:10
xgqt has quit [*.net *.split]
04:10
ralu1 has quit [*.net *.split]
04:10
omegatron has quit [*.net *.split]
04:10
jyc has quit [*.net *.split]
04:10
root2 has quit [*.net *.split]
04:10
Duns_Scrotus__ has quit [*.net *.split]
04:10
jackhill has quit [*.net *.split]
04:10
bronsen has quit [*.net *.split]
04:10
cross has quit [*.net *.split]
04:10
tomku has quit [*.net *.split]
04:10
xenu has quit [*.net *.split]
04:10
thizanne has quit [*.net *.split]
04:10
Leonidas has quit [*.net *.split]
04:10
midgard has quit [*.net *.split]
04:10
CalimeroTeknik has quit [*.net *.split]
04:10
ohperitel has quit [*.net *.split]
04:10
slothby has quit [*.net *.split]
04:10
pukkamustard has quit [*.net *.split]
04:10
Putonlalla has quit [*.net *.split]
04:10
noddy has quit [*.net *.split]
04:11
gdd has quit [*.net *.split]
04:11
theblatte has quit [*.net *.split]
04:11
motherfsck has quit [*.net *.split]
04:11
fds_ has quit [*.net *.split]
04:11
mal``` has quit [*.net *.split]
04:11
gahr has quit [*.net *.split]
04:11
hannes has quit [*.net *.split]
04:11
sim642 has quit [*.net *.split]
04:11
habnabit_ has joined #ocaml
04:11
notnotdan has joined #ocaml
04:11
dinosaure2 has quit [*.net *.split]
04:11
jsoo_ has quit [*.net *.split]
04:11
oisota has quit [*.net *.split]
04:11
nore has quit [*.net *.split]
04:11
m5zs7k has joined #ocaml
04:11
grobe0ba has joined #ocaml
04:11
rwmjones|HOL has joined #ocaml
04:11
berberman_ has joined #ocaml
04:11
m5zs7k has quit [Max SendQ exceeded]
04:11
xgqt has joined #ocaml
04:11
omegatron has joined #ocaml
04:11
ralu1 has joined #ocaml
04:11
thizanne has joined #ocaml
04:11
cross has joined #ocaml
04:11
tomku has joined #ocaml
04:11
xenu has joined #ocaml
04:11
Leonidas has joined #ocaml
04:11
midgard has joined #ocaml
04:11
CalimeroTeknik has joined #ocaml
04:11
ohperitel has joined #ocaml
04:11
slothby has joined #ocaml
04:11
pukkamustard has joined #ocaml
04:11
root2 has joined #ocaml
04:11
jyc has joined #ocaml
04:11
jackhill has joined #ocaml
04:11
Duns_Scrotus__ has joined #ocaml
04:11
bronsen has joined #ocaml
04:11
chrisz has quit [*.net *.split]
04:11
discocaml has quit [*.net *.split]
04:11
farn__ has quit [*.net *.split]
04:11
Riviera has quit [*.net *.split]
04:11
lisq has quit [*.net *.split]
04:11
gentauro has quit [*.net *.split]
04:11
Absalom has quit [*.net *.split]
04:11
infinity0 has quit [*.net *.split]
04:11
szkl has quit [*.net *.split]
04:11
masterbuilder has quit [*.net *.split]
04:11
ns12 has quit [*.net *.split]
04:11
Putonlalla has joined #ocaml
04:11
noddy has joined #ocaml
04:11
cross has quit [Max SendQ exceeded]
04:11
m5zs7k_ has joined #ocaml
04:12
azimut has quit [Ping timeout: 255 seconds]
04:12
discocaml has joined #ocaml
04:12
farn__ has joined #ocaml
04:12
lisq has joined #ocaml
04:12
chrisz has joined #ocaml
04:12
Riviera has joined #ocaml
04:12
Absalom has joined #ocaml
04:12
gentauro has joined #ocaml
04:12
szkl has joined #ocaml
04:12
infinity0 has joined #ocaml
04:12
ns12 has joined #ocaml
04:12
masterbuilder has joined #ocaml
04:12
Riviera has quit [Max SendQ exceeded]
04:12
discocaml has quit [Excess Flood]
04:13
discocaml has joined #ocaml
04:13
cross has joined #ocaml
04:14
szkl has quit [Ping timeout: 249 seconds]
04:15
azimut has joined #ocaml
04:16
ebb has joined #ocaml
04:17
theblatte has joined #ocaml
04:17
gdd has joined #ocaml
04:17
motherfsck has joined #ocaml
04:17
gahr has joined #ocaml
04:17
mal``` has joined #ocaml
04:17
fds_ has joined #ocaml
04:17
sim642 has joined #ocaml
04:17
jsoo_ has joined #ocaml
04:17
nore has joined #ocaml
04:17
dinosaure2 has joined #ocaml
04:17
hannes has joined #ocaml
04:17
oisota has joined #ocaml
04:17
szkl has joined #ocaml
04:19
duckie has joined #ocaml
04:19
gdd has quit [Max SendQ exceeded]
04:20
m5zs7k_ is now known as m5zs7k
04:20
perrierjouet has quit [*.net *.split]
04:20
haesbaert has quit [*.net *.split]
04:20
trillion_exabyte has quit [*.net *.split]
04:20
Exa has quit [*.net *.split]
04:20
pieguy128 has quit [*.net *.split]
04:20
dh` has quit [*.net *.split]
04:20
genpaku has quit [*.net *.split]
04:20
hrberg has quit [*.net *.split]
04:20
dstein64 has quit [*.net *.split]
04:20
pippijn has quit [*.net *.split]
04:21
gdd has joined #ocaml
04:23
haesbaert has joined #ocaml
04:23
perrierjouet has joined #ocaml
04:23
trillion_exabyte has joined #ocaml
04:23
pieguy128 has joined #ocaml
04:23
Exa has joined #ocaml
04:23
dh` has joined #ocaml
04:23
hrberg has joined #ocaml
04:23
genpaku has joined #ocaml
04:23
dstein64 has joined #ocaml
04:23
pippijn has joined #ocaml
04:30
AnuragSoni[m] has joined #ocaml
04:31
lobo[m] has joined #ocaml
04:34
theblatte has quit [*.net *.split]
04:34
motherfsck has quit [*.net *.split]
04:34
fds_ has quit [*.net *.split]
04:34
mal``` has quit [*.net *.split]
04:34
gahr has quit [*.net *.split]
04:34
hannes has quit [*.net *.split]
04:34
sim642 has quit [*.net *.split]
04:34
dinosaure2 has quit [*.net *.split]
04:34
jsoo_ has quit [*.net *.split]
04:34
oisota has quit [*.net *.split]
04:34
nore has quit [*.net *.split]
04:36
motherfsck has joined #ocaml
04:36
hannes has joined #ocaml
04:36
fds_ has joined #ocaml
04:36
theblatte has joined #ocaml
04:36
jsoo_ has joined #ocaml
04:36
nore has joined #ocaml
04:36
sim642 has joined #ocaml
04:36
dinosaure2 has joined #ocaml
04:36
gahr has joined #ocaml
04:36
mal``` has joined #ocaml
04:36
oisota has joined #ocaml
04:36
daimrod has joined #ocaml
04:56
technomancy[m] has joined #ocaml
05:14
azimut has quit [Ping timeout: 255 seconds]
05:14
tjnhxmzhmqgytuwt has joined #ocaml
05:25
bgs has joined #ocaml
05:36
zebrag[m] has joined #ocaml
05:58
mclovin has joined #ocaml
06:00
georgyo[m] has joined #ocaml
06:15
reynir[m] has joined #ocaml
07:01
trev has joined #ocaml
07:34
bartholin has joined #ocaml
07:41
curium has joined #ocaml
08:43
azimut has joined #ocaml
08:45
Riviera has joined #ocaml
08:47
azimut has quit [Ping timeout: 255 seconds]
09:00
AnuragSoni[m] has quit [Quit: You have been kicked for being idle]
09:16
azimut has joined #ocaml
09:16
<
discocaml >
<Julin> Hi. I was trying to use ocaml with nix.
09:16
<
discocaml >
<Julin>
09:17
<
discocaml >
<Julin> I was trying to open the `Base` module. But it isn't loading.
09:17
<
discocaml >
<Julin>
09:17
<
discocaml >
<Julin> Any idea what I'm doing wrong?
09:17
<
discocaml >
<Julin>
09:17
<
discocaml >
<Julin> This is what I was doing:
09:17
<
discocaml >
<Julin> ```
09:17
<
discocaml >
<Julin> username@host:~/$ nix-shell -p ocaml ocamlPackages.base
09:17
<
discocaml >
<Julin>
09:17
<
discocaml >
<Julin> [nix-shell:~/]$ ocaml
09:17
<
discocaml >
<Julin> OCaml version 4.14.1
09:17
<
discocaml >
<Julin> Enter #help;; for help.
09:17
<
discocaml >
<Julin>
09:17
<
discocaml >
<Julin> Cannot find file topfind.
09:17
<
discocaml >
<Julin> # open Base;;
09:17
<
discocaml >
<Julin> Error: Unbound module Base
09:17
<
discocaml >
<Julin> ```
09:34
olle has joined #ocaml
09:51
Serpent7776 has joined #ocaml
09:54
Haudegen has joined #ocaml
09:58
slbtty_ has joined #ocaml
09:58
slbtty_ is now known as slbtty
10:04
Tuplanolla has joined #ocaml
10:21
spip has joined #ocaml
12:05
<
discocaml >
<leviroth> Does `ocamlPackages.base` actually refer to the `base` library or does it refer to some nix thing?
12:47
azimut has quit [Ping timeout: 255 seconds]
12:49
azimut has joined #ocaml
13:15
riverdc has quit [Ping timeout: 276 seconds]
13:15
riverdc has joined #ocaml
13:42
omni has quit [Read error: Connection reset by peer]
13:42
omni has joined #ocaml
13:44
perrierjouet has quit [Quit: WeeChat 3.8]
13:46
perrierjouet has joined #ocaml
14:13
perrierjouet has quit [Quit: WeeChat 3.8]
14:16
<
discocaml >
<josé> Yes
14:17
perrierjouet has joined #ocaml
14:25
azimut has quit [Ping timeout: 255 seconds]
14:26
<
discocaml >
<josé> You do need findlib or just be explicit on the location if base if it's zero deps
14:26
<
discocaml >
<josé> There are also some environment variables set that require it to be from a mkShell as opposed to this type of direct approach that won't work
14:27
waleee has joined #ocaml
14:28
<
discocaml >
<josé> Also there's no reason to stick to old cli anymore just enable the nix-command and flake experimental features
14:28
<
discocaml >
<josé> Or use the zero to nix installer alongside following the documentation
14:29
<
discocaml >
<josé> Also there's no reason to stick to old cli anymore just enable the nix-command and flake experimental features
14:29
<
discocaml >
<josé> Or use the zero to nix installer alongside following the documentation which are there by default
14:33
<
discocaml >
<josé> So even if you actually fetch findlib alongside your other dependencies with nix shell
14:33
<
discocaml >
<josé> findlib won't be able to find your ocaml deps
14:34
<
discocaml >
<josé> So even if you actually fetch findlib alongside your other dependencies with nix shell
14:34
<
discocaml >
<josé> findlib won't be able to find your ocaml deps
14:34
<
discocaml >
<josé> You can test that with
14:34
<
discocaml >
<josé> ``nix shell nixpkgs#{ocaml, ocamlPackages.base, ocamlPackages.findlib}``
14:35
<
discocaml >
<josé> And running ocamlfind -query base
14:35
<
discocaml >
<josé> I believe it was
14:37
waleee has quit [Ping timeout: 250 seconds]
14:39
waleee has joined #ocaml
14:41
gwizon has quit [Quit: Lost terminal]
15:14
azimut has joined #ocaml
15:32
Stumpfenstiel has joined #ocaml
15:42
<
discocaml >
<darrenldl> do people use notty or lambda-term or something else these days?
15:43
<
discocaml >
<Kali> i personally use notty, and it seems like a fairly popular choice among others
15:44
<
discocaml >
<darrenldl> it does seem more straightforward for what i want to do - a scroll page but each option might be a few lines in height
15:45
<
discocaml >
<darrenldl> its model is essentially i draw to an image buffer right?
15:46
olle has quit [Ping timeout: 250 seconds]
15:55
gareppa has joined #ocaml
15:56
gareppa has quit [Remote host closed the connection]
16:25
<
discocaml >
<Kali> indeed
16:25
<
discocaml >
<Kali> well, it calls its unit of representation an "image"
16:26
<
discocaml >
<Kali> it is just formatted text
16:26
<
discocaml >
<Kali> that can be composed horizonally/vertically or imposed on another image
16:27
<
discocaml >
<Kali> or padded a certain amount etc.
17:09
<
discocaml >
<Julin> I did `ocamlfind -qurey base findlib` and got this:
17:09
<
discocaml >
<Julin> ```
17:09
<
discocaml >
<Julin> [nix-shell:~]$ ocamlfind -query base findlib
17:09
<
discocaml >
<Julin> /nix/store/2k7ljigh1zyyf0ni4jv5l7lmdh3cr6vi-ocaml4.14.1-base-0.15.1/lib/ocaml/4.14.1/site-lib/base
17:09
<
discocaml >
<Julin> /nix/store/sl0r2giq41fgrhz5rkd0pqr9v7f40vxj-ocaml-findlib-1.9.3/lib/ocaml/4.12.1/site-lib/findlib
17:09
<
discocaml >
<Julin> ```
17:09
<
discocaml >
<Julin> So it's there.
17:09
<
discocaml >
<Julin>
17:09
<
discocaml >
<Julin> But ocaml still can't find them. I'm not yet familiar with flakes (been putting it off till I get the time), but would it be possible with ordinary nix to get it working?
17:09
<
discocaml >
<josé> oh thats interesting
17:09
<
discocaml >
<Julin> When I run ocaml, I get this message: `Cannot find file topfind.
17:09
<
discocaml >
<Julin> `
17:09
<
discocaml >
<Julin> Does that mean anything?
17:10
<
discocaml >
<josé> what did you run for the shell
17:11
<
discocaml >
<josé> oh thats extremely interesting
17:11
<
discocaml >
<josé> why does `nix-shell` add the necessary environment variables but `nix shell` not
17:11
<
discocaml >
<Julin> Oh sorry, wasn't the same command that was mentioned..
17:11
<
discocaml >
<Julin> It was this: `nix-shell -p ocaml ocamlPackages.{base,findlib}`
17:11
<
discocaml >
<josé> yeah so the old cli
17:12
<
discocaml >
<josé> i think its because they introduced ``nix develop`` which was the actual replacement for nix-shell
17:12
<
discocaml >
<josé> but i dont know how to get direct packages with that
17:12
<
discocaml >
<josé> or wait i can just nix develop nixpkgs#... oh lol i didnt know that
17:13
<
discocaml >
<josé> yeah but it only works with a single package so well
17:14
<
discocaml >
<josé> you could try utop
17:14
<
discocaml >
<josé> you could try utop instead, better repl afaik (subjectively imo)
17:14
<
discocaml >
<josé> you could try utop instead, better repl afaik (imo)
17:14
<
discocaml >
<josé> nix-shell -p ocaml ocamlPackages.{base,findlib,utop}
17:14
<
discocaml >
<josé> #require "base";; and then just open ig
17:15
<
discocaml >
<josé> yeah that works
17:16
<
discocaml >
<josé> sad to see nixpkgs is still on ocaml 4.14 though
17:16
<
discocaml >
<josé> sad to see nixpkgs is still on ocaml 4.14 for the default package though
17:17
<
discocaml >
<Julin> Yeah that works for me too. Thanks.
17:18
<
discocaml >
<Julin> How can we enable the experimental featues in nix?
17:19
<
discocaml >
<Julin> I sort of blindly tried:
17:19
<
discocaml >
<Julin> ```
17:19
<
discocaml >
<Julin> nix --extra-experimental-features nix-command shell nixpkgs#{ocaml, ocamlPackages.base, ocamlPackages.findlib}```
17:19
<
discocaml >
<Julin> and got `error: 'nixpkgs#{ocaml,' is not a valid URL
17:19
<
discocaml >
<Julin> `
17:19
<
discocaml >
<josé> you can like that or with the nix installation
17:19
<
discocaml >
<josé> you can like that or with the nix installation in your
17:19
<
discocaml >
<josé> what are you running NixOS or any derivative of nix/darwin?
17:19
<
discocaml >
<josé> what are you running NixOS or any derivative of linux/darwin?
17:19
<
discocaml >
<Julin> Not nixos. Debian.
17:20
<
discocaml >
<josé> 😭
17:20
<
discocaml >
<josé> is this a fresh installation of nix?
17:21
<
discocaml >
<Julin> 😅
17:21
<
discocaml >
<Julin> No been a few months..
17:21
<
discocaml >
<Julin> Channel is 2.13.3
17:21
<
discocaml >
<josé> enable flakes while your at i
17:21
<
discocaml >
<josé> enable flakes while your at it
17:21
<
discocaml >
<Julin> Oh sorry not that.
17:21
<
discocaml >
<Julin> 😅
17:21
<
discocaml >
<Julin> No been a few months..
17:21
<
discocaml >
<Julin> ~~Channel is 2.13.3~~
17:21
<
discocaml >
<Julin> Channel is the latest one
17:22
<
discocaml >
<Julin> 22.11
17:22
<
discocaml >
<Julin> Oh sorry not that. (I meant the channel version)
17:23
<
discocaml >
<Julin> Been putting it off for some time. Knew it would take time to read up how to use it.
17:24
<
discocaml >
<josé> i've been using it now for over a year
17:25
<
discocaml >
<Julin> It needs a flake file for each shell, right? With the nix-shell thing we could just use the command and get started.
17:26
<
discocaml >
<josé> no
17:26
<
discocaml >
<josé> nix develop nixpkgs#hello
17:26
<
discocaml >
<josé> nix shell nixpkgs#{hello,package-2}
17:26
<
discocaml >
<josé> nix develop nixpkgs#hello for build env of a package
17:26
<
discocaml >
<josé> nix shell nixpkgs#{hello,package-2}
17:26
<
discocaml >
<josé> but the problem is
17:27
<
discocaml >
<josé> you cant specify multiple packages for nix develop so you have to create a shell
17:27
<
discocaml >
<josé> you can probably pass in a file for nix develop i think
17:28
<
discocaml >
<josé> also flakes are per project not shell
17:28
<
discocaml >
<josé> so you can export as many devShells you want accessible through nix develop uses default
17:28
<
discocaml >
<josé> nix develop .#devshell-name-ocaml
17:29
<
discocaml >
<Julin> I just did `julinusername@Julinhost:~$ nix --experimental-features 'nix-command' --extra-experimental-features 'flakes' shell nixpkgs#{hello,packa
17:29
<
discocaml >
<Julin> ge-2}
17:30
<
discocaml >
<Julin> I just did:
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> $ nix --experimental-features 'nix-command' --extra-experimental-features 'flakes' shell nixpkgs#{hello,packa
17:30
<
discocaml >
<Julin> ge-2}
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> But got error:
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> julinusername@julinhost:~$ nix --experimental-features 'nix-command' --extra-experimental-features 'flakes' shell nixpkgs#{hello,packa
17:30
<
discocaml >
<Julin> ge-2}
17:30
<
discocaml >
<Julin> error: flake 'flake:nixpkgs' does not provide attribute 'packages.x86_64-linux.package-2', 'legacyPackages.x86_64-linux.package-2' or 'package-2'
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> Any idea what that might be?
17:30
<
discocaml >
<Julin> I just did:
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> $ nix --experimental-features 'nix-command' --extra-experimental-features 'flakes' shell nixpkgs#{hello,packa
17:30
<
discocaml >
<Julin> ge-2}
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> But got error:
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> $ nix --experimental-features 'nix-command' --extra-experimental-features 'flakes' shell nixpkgs#{hello,packa
17:30
<
discocaml >
<Julin> ge-2}
17:30
<
discocaml >
<Julin> error: flake 'flake:nixpkgs' does not provide attribute 'packages.x86_64-linux.package-2', 'legacyPackages.x86_64-linux.package-2' or 'package-2'
17:30
<
discocaml >
<Julin> ```
17:30
<
discocaml >
<Julin> Any idea what that might be?
17:31
olle has joined #ocaml
17:33
<
discocaml >
<Julin> But `nix --experimental-features 'nix-command flakes' shell nixpkgs#ocaml` worked.
17:34
<
discocaml >
<josé> package-2 doesn't exist :)
17:34
<
discocaml >
<josé> btw the new cli wont allow you to get the env of multiple packages
17:34
<
discocaml >
<Julin> Ah.. 🥴
17:34
<
discocaml >
<josé> so you shouldn't actually do that
17:34
<
discocaml >
<josé> just stick to nix-shell
17:34
<
discocaml >
<josé> or create a mkShell
17:34
<
discocaml >
<josé> or create a mkShell
17:43
waleee has quit [Quit: WeeChat 3.8]
17:45
<
discocaml >
<Julin> You mean stick to the old stuff? As in not flakes?
17:46
<
discocaml >
<josé> no use flakes
17:46
<
discocaml >
<josé> just for this case use the nix-shell cli as its not possible with the new cli to replicate the same result of getting all the build environments of the packages
17:46
<
discocaml >
<josé> directly
17:46
<
discocaml >
<josé> through a cli interface
17:46
<
discocaml >
<josé> you can get a single package but not multiple with nix develop which is what you need to actually get the right environment to get to expose the package to findlib
17:47
<
discocaml >
<josé> nix shell will get you the packages
17:47
<
discocaml >
<josé> just not the env
17:47
<
discocaml >
<josé> nix develop does get you the env but only one package
17:47
<
discocaml >
<josé> of course we're talking directly through the cli
18:40
random-jellyfish has joined #ocaml
18:54
trev has quit [Remote host closed the connection]
18:57
John_Ivan has joined #ocaml
18:58
random-jellyfish has quit [Quit: Client closed]
19:00
random-jellyfish has joined #ocaml
19:17
azimut has quit [Ping timeout: 255 seconds]
19:26
tomku has quit [*.net *.split]
19:26
xenu has quit [*.net *.split]
19:26
Leonidas has quit [*.net *.split]
19:26
midgard has quit [*.net *.split]
19:26
CalimeroTeknik has quit [*.net *.split]
19:26
ohperitel has quit [*.net *.split]
19:26
slothby has quit [*.net *.split]
19:26
thizanne has quit [*.net *.split]
19:26
pukkamustard has quit [*.net *.split]
19:27
xenu_ has joined #ocaml
19:27
Leonidas_ has joined #ocaml
19:27
tomku|two has joined #ocaml
19:27
ohperitel_ has joined #ocaml
19:27
midgard_ has joined #ocaml
19:27
midgard_ has joined #ocaml
19:27
midgard_ has quit [Changing host]
19:27
thizanne has joined #ocaml
19:28
midgard_ is now known as midgard
19:29
CalimeroTeknik has joined #ocaml
19:54
CalimeroTeknik has quit [Changing host]
19:54
CalimeroTeknik has joined #ocaml
19:56
xenu_ is now known as xenu
20:24
random-jellyfish has quit [Quit: Client closed]
20:48
slbtty has quit [Remote host closed the connection]
20:53
random-jellyfish has joined #ocaml
20:56
alexherbo2 has joined #ocaml
21:35
bgs has quit [Remote host closed the connection]
22:18
olle has quit [Ping timeout: 264 seconds]
22:19
pukkamustard has joined #ocaml
22:36
wingsorc has joined #ocaml
22:37
azimut has joined #ocaml
22:49
Tuplanolla has quit [Quit: Leaving.]
22:55
bartholin has quit [Quit: Leaving]
22:56
Serpent7776 has quit [Ping timeout: 246 seconds]
23:16
azimut has quit [Ping timeout: 255 seconds]
23:26
azimut has joined #ocaml
23:32
Stumpfenstiel has quit [Ping timeout: 256 seconds]
23:49
pie_ has joined #ocaml