This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
01:07 Manifest0 left 04:03 jaguart joined 05:16 Guest60 joined 07:22 [Coke] left 07:49 [Coke] joined 08:19 Guest60 left 08:42 Manifest0 joined 09:25 dakkar joined 11:54 lizmat left 12:18 lizmat joined 12:28 lizmat_ joined 12:30 lizmat left 12:45 lizmat_ left, lizmat joined 14:24 jaguart left 17:32 dakkar left 18:05 human-blip left 18:07 human-blip joined 19:32 swaggboi joined 22:05 habere-et-disper joined
habere-et-disper I'm struggling to get raku installed on nixos. 22:11
There appears to be no rakudo-star there.
So went with plain raku but that can't see Readline although that's installed too.
Do I have to fiddle with the environment LD_* ?
Thanks !
22:39 lizmat_ joined 22:43 lizmat left 23:00 habere-et-disper left 23:06 habere-et-disper joined
habere-et-disper In `/etc/nixos/configuration.nix` 23:30
I have `environment.systemPackages = with pkgs; [ readline70 rakudo ];`
What else do I need to do to get raku to find readline ?
`zef install Readline` fails with `Cannot locate native library 'libreadline.so.7': libreadline.so.7: cannot open shared object file: No such file or directory` 23:33
lizmat_ instal libreadline first? 23:39
23:39 lizmat_ left, lizmat joined
habere-et-disper I think it is installed via adding it to `/etc/nixos/configuration.nix`. It's just not seeing it as I see `libreadline.so` down in `/nix/store/...` among other places. 23:43
So it works if I do `export LD_LIBRARY_PATH="/nix/store/XXX/lib/` andthen `zef install Readline` where XXX is a long and hardcoded folder -- which doesn't seem right. 23:52
I found the folder doing a recursive search for `libreadline.so` 23:54