🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:51
yewscion_ left
01:08
yewscion joined
01:22
yewscion left
01:24
xinming joined
01:33
yewscion joined
01:39
yewscion left
02:37
yewscion joined
02:42
yewscion left
02:55
hulk joined
02:56
kylese left
03:15
hulk left,
kylese joined
03:18
yewscion joined
03:24
yewscion left
03:50
Aedil joined
04:06
yewscion joined
04:11
yewscion left
04:25
yewscion joined
04:30
yewscion left
04:47
guifa left
04:51
yewscion joined
04:56
yewscion left
05:24
yewscion joined
05:28
yewscion left
05:29
grondilu left
06:04
Aedil left
07:16
traxex left
07:25
SrainUser left
08:15
Sgeo left
08:41
Aedil joined
10:18
sjn left,
sjn joined
11:24
sena_kun joined
12:30
guifa joined
13:09
guifa left
13:13
sjn left
13:20
sjn joined
13:39
sjn left
13:40
sjn joined
15:02
Aedil left
15:43
Sgeo joined
16:59
gfldex joined,
gfldex left,
gfldex joined
17:18
xinming left
17:20
xinming joined
17:25
xinming left
17:31
xinming joined
17:34
xinming left
17:39
xinming joined
17:40
xinming left
18:05
Aedil joined
18:10
sjn left
18:11
sjn joined
18:19
sena_kun left
18:24
sjn left,
sjn joined
18:41
sjn left
18:43
sjn joined
18:51
sjn left
18:52
sjn joined
19:40
xinming joined
20:03
Guest73 joined
20:04
Guest73 left
|
|||
thatonelutenist | I'm having a little bit of trouble understanding the relevant part of the docs to find an answer for this one, is there an environment variable I can set to change the location of the ~/.raku directory? | 21:27 | |
21:30
sjn left
21:32
sjn joined
|
|||
Voldenet | long story short, it's hardcoded | 21:43 | |
> github.com/rakudo/rakudo/blob/main...kumod#L540 | |||
at least in one place | 21:44 | ||
thatonelutenist | I like how you just linked a location where it actually _isn't_ hard coded lol | 21:46 | |
Voldenet | HOME is env variable home, but .raku is hardcoded | 21:47 | |
while RAKUDO_HIST can be altered, the `.raku` part can't be | 21:48 | ||
so… this kinda means you can't really change this `.raku` part easily apart from changing HOME, which will obviously work | |||
thatonelutenist | That does suck a bit, maybe something for me to work on in the future | 21:49 | |
21:50
guifa joined
|
|||
thatonelutenist | all I _really_ want is for project specific ~/.raku/bin and zef site directory, I tend to not install tools globally and make heavy use of direnv for my projects, I like to keep the root of my homedir clean, but it looks like I can at least pull that off with zef's environment variables | 21:50 | |
Voldenet | yeah, something like $*RAKU_HOME would be nice | ||
21:58
sjn left
22:00
sjn joined
|
|||
Voldenet | for modules there's docs github.com/rakudo/rakudo/blob/main...agement.md | 22:06 | |
thatonelutenist | thank you | ||
I'm currently prototyping some tooling for another language that's not quite done cooking yet in raku, but I've now got another item for the todo list | 22:07 | ||
Voldenet | hah, I knew I've recognized this problem irclogs.raku.org/raku/2023-07-14.html#02:12 | 22:10 | |
thatonelutenist | That'll get me going for now, I'm a nixos user and as a result my programming workflow is a bit, uh, different, and its always a bit extra fun working with languages that are less done baking | 22:20 | |
At the end of the day though, having a ~/.raku around even though raku isn't _actually_ installed on my system or user profile is an incredibly minor annoyance | 22:25 | ||
ugexe | you could set $HOME i guess | 22:27 | |
i guess that was already alluded to | 22:28 | ||
thatonelutenist | yeah, that is an option, but that would result in other things getting weird with how I have things setup | 22:29 | |
I've got a folder for each language I regularly work with in ~/Projects and a .envrc in each that automatically loads up the devshell and sets up the tools for that language to dump their stuff in a subfolder of ~/Project/$language/.env | 22:30 | ||
my text editor runs outside the devshell and I use a direnv integration plugin to make it aware of this setup | |||
I'm really not sure emacs would the value of $HOME being different for different buffers | |||
*would like | 22:31 | ||
oh well, when I get through my current project it won't be the first time I'm making modifications to a compiler to make things nicer for people who use weird systems that defy the linux norms | 22:32 | ||
timo | isn't there a zef install --to or --into flag that goes along with RAKUDOLIB=something#/the/path/blabla ? | 23:21 | |
probably inst# in front of the path? | |||
ab5tract | I think so, but I think Raku also stashes precomps in .raku? | 23:22 | |
timo | i think where the precomp goes depends on the last entry in the repo chain (or i guess it's the first) | 23:24 | |
23:41
sjn left
23:43
sjn joined
|