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