🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:10 rbt left 00:24 rbt joined 00:38 MasterDuke left 00:40 sena_kun joined 00:42 Altai-man_ left 01:10 rbt left 01:11 rbt joined
jdv79 is there a terse Map construction form? 01:14
as in we have () for list and [] for array and {} for hash 01:15
AlexDaniel jdv79: not that I know of 01:16
jdv79 is there a way to bind a value in a {}? that could work also. 01:18
01:19 aborazmeh left
AlexDaniel m: my %e := Map.new(‘a’, 1, ‘b’, 2); %e<c> = 42; dd %e 01:20
camelia Map.new((:a(1),:b(2)))
AlexDaniel hmmm
shouldn't it like… complain?
6c: my %e := Map.new(‘a’, 1, ‘b’, 2); %e<c> = 42; dd %e
committable6 AlexDaniel, gist.github.com/09943cb4d55dc59ffa...23ef291df6
AlexDaniel bisect: my %e := Map.new(‘a’, 1, ‘b’, 2); %e<c> = 42; dd %e
bisectable6 AlexDaniel, Bisecting by exit code (old=2015.12 new=b9105f1). Old exit code: 1
AlexDaniel, bisect log: gist.github.com/c807602ef81cff6761...728e4e84b1 01:21
AlexDaniel, (2019-07-24) github.com/rakudo/rakudo/commit/2e...d8eb3b9fee
jdv79 i think only exists pairs are immutable
AlexDaniel R#3617 01:24
linkable6 R#3617 [open]: github.com/rakudo/rakudo/issues/3617 [regression] Modifying a Map no longer complains
jdv79 the last bits of docs.perl6.org/type/Pair#method_freeze look odd 01:32
what does "create a new Pair, with a decontainerized key/value" mean and the example looks borked 01:33
AlexDaniel github.com/Raku/doc/commit/41d2504...eebae1R308 01:36
yeah, no idea what was meant there
jdv79: I guess the example is trying to say “just call .Map.head” on it 01:37
jdv79 i think its implying that Map coercion is the only way?
yeah. lame.
01:46 ofperfection left 02:35 cognomin_ joined 02:38 cognominal left 02:39 Altai-man_ joined 02:41 sena_kun left 02:48 Success left, Success joined 02:55 softmoth joined 03:55 notable6 left, coverable6 left, greppable6 left, quotable6 left, reportable6 left, committable6 left, evalable6 left, linkable6 left, unicodable6 left, nativecallable6 left, tellable6 left, statisfiable6 left, bloatable6 left, bisectable6 left, shareable6 left, sourceable6 left, squashable6 left, releasable6 left, benchable6 left, reportable6 joined, committable6 joined, linkable6 joined 03:56 notable6 joined, tellable6 joined, bisectable6 joined, benchable6 joined, releasable6 joined, statisfiable6 joined, nativecallable6 joined, bloatable6 joined, coverable6 joined 03:57 shareable6 joined, greppable6 joined, evalable6 joined 03:58 unicodable6 joined, sourceable6 joined, quotable6 joined, squashable6 joined 04:13 Success is now known as Failure 04:40 sena_kun joined 04:42 Altai-man_ left 04:50 Hexeratops left 05:26 softmoth left, softmoth joined 05:28 softmoth left 05:35 softmoth joined 06:19 Failure is now known as Success
cpan-raku New module released to CPAN! PDF::Class (0.4.3) by 03WARRINGD 06:30
06:39 Altai-man_ joined 06:41 sena_kun left 06:58 imcsk8 left 07:00 imcsk8 joined 07:17 rindolf joined 07:35 ParsonsNose joined 07:36 m_athias left 07:58 softmoth left 08:00 Failure joined 08:01 Failure left, Failure joined 08:02 Failure left 08:04 Success left
Geth_ doc: e3d6e59274 | (JJ Merelo)++ | 2 files
Z with empty argument #2632
doc: fa11c36329 | (JJ Merelo)++ | doc/Language/operators.pod6
Reduce + with a single argument #2632
linkable6 DOC#2632 [open]: github.com/Raku/doc/issues/2632 [Hacktoberfest][RFE][big][docs][good first issue][help wanted][new][⚠ Top Priority ⚠] Checklist for 6.d
Link: docs.raku.org/language/operators
08:26 patrickb joined 08:39 MasterDuke joined 08:40 sena_kun joined 08:42 Altai-man_ left 08:43 m_athias joined
xinming_ releasable6: status 08:52
releasable6 xinming_, Next release will happen when it's ready. 4 blockers. 166 out of 307 commits logged (⚠ 3 warnings)
xinming_, Details: gist.github.com/1622753373769e8c97...c3319970cf
09:16 rbt left 09:17 rbt joined 09:46 aborazmeh joined, aborazmeh left, aborazmeh joined 09:56 poohman joined 10:30 aborazmeh left 10:31 rindolf left 10:32 rindolf joined 10:33 __jrjsmrtn__ left 10:35 __jrjsmrtn__ joined 10:39 Altai-man_ joined 10:42 sena_kun left 10:46 chloekek joined
tbrowder .tell dwarring +++ excellent, david! 10:48
tellable6 tbrowder, I'll pass your message to dwarring
chloekek Is it possible to embed Rakudo in a C program? 10:54
I guess it would be similar to main.c but without the CLI part. 10:55
lizmat chloekek: in Perl, there's Inline::Perl6: you could argue that that's embedding Rakudo in a C program 11:01
chloekek Thanks, I’ll check how that works.
11:11 chloekek left 11:19 Kaeipi is now known as Kaiepi 11:27 Sgeo__ joined 11:28 stoned75 left 11:30 Sgeo_ left 11:33 cpan-raku left 11:36 cpan-raku joined, cpan-raku left, cpan-raku joined, aborazmeh joined, aborazmeh left, aborazmeh joined 11:44 pecastro joined 11:48 k-man_ joined 11:49 k-man left 11:57 caterfxo left 12:05 lgtaube left 12:09 lgtaube joined 12:10 rbt left 12:11 rbt joined 12:14 poohman left 12:16 caterfxo joined 12:40 sena_kun joined 12:42 Altai-man_ left 12:45 stoned75 joined 12:52 dakkar joined 12:53 hungryd66 joined 13:11 hungryd66 left 13:12 hungrydonkey joined 13:13 dakkar left 13:19 rbt left 13:20 rbt joined 13:26 aborazmeh left
cpan-raku New module released to CPAN! Gnome::GObject (0.16.4) by 03MARTIMM 13:33
13:33 Sgeo_ joined 13:36 Sgeo__ left
ParsonsNose Can anyone give some insight as to why this doesn't work? 13:38
p6: sub test(::T, T $foo --> T) { $foo } ; test Str, "foo"
camelia Died with X::TypeCheck::Return
in sub test at <tmp> line 1
in block <unit> at <tmp> line 1
13:39 poohman joined, cognominal joined 13:42 cognomin_ left
lizmat ParsonsNose: I think you have found a bug 13:50
temporary workaround would be to remove the return value (--> T) from the signature
ParsonsNose A wild bug! How exciting. Real use case is a bit more complex -- T has a LUB, so I'm specifying the constant LUB role as the return type instead, and that seems to work. I guess I should file a :bug: report then... 13:53
lizmat yes, please :-) 13:59
13:59 hungryd50 joined 14:01 hungrydonkey left
ParsonsNose Filed. Thanks for confirming that it was, in fact, a bug and not just me being an idiot 14:04
14:12 aborazmeh joined, aborazmeh left, aborazmeh joined 14:20 poohman left 14:25 softmoth joined 14:39 Altai-man_ joined 14:42 sena_kun left 14:45 aborazmeh left 14:46 NODE left 14:47 |Sno| left 14:48 NODE joined, [Sno] joined 14:56 xinming joined
jdv79 why is there a short form for object hash construction but none for a map? 14:58
are obj hashes more used than a map? 14:59
14:59 xinming_ left 15:05 NODE left 15:06 NODE joined
Altai-man_ a quick simple regex question: how do I find last occurrence of something? e.g. 15:15
m: say 'if { if else } else {}' ~~ m{ << (else) >> } 15:16
camelia 「else」
0 => 「else」
Altai-man_ m: say ('if { if else } else {}' ~~ m{ << (else) >> }).from
camelia 8
Altai-man_ this but 15
modifying things outside of regex is cool, but I don't want to do something like "reverse the string" kind of things 15:17
m: say ('if { if else } else { else }' ~~ m:g{ [<< (else)]+ >> }).tail.from 15:20
camelia 22
15:20 chloekek joined
Altai-man_ m: say ('if { if else } else { else }' ~~ m:g{ [<< (else) >> ]+ }).tail.from 15:22
camelia 22
Altai-man_ oh noe 15:24
AlexDaniel chloekek: any way I can use use CRAI instead of github.com/moritz/perl6-all-modules ? 15:25
15:25 patrickb left
AlexDaniel chloekek: for example, can I get a list of all latest tars so that I can download them? 15:26
chloekek: for example in json form
chloekek AlexDaniel: database.crai.foldr.nl/sqlite.sqlite3 then SELECT url FROM archives
AlexDaniel ouch sqlite 15:27
chloekek AlexDaniel: but there is no easy way to sort version numbers, I am working on a fix for that
AlexDaniel: alternatively you can scan github.com/chloekek/raku-nix/tree/.../ecosystem for url = "([^"]*)"; but this is not yet automatically updated. 15:28
AlexDaniel okay maybe next time… I'm not ready to introduce a dependency on DBIish
15:29 Sgeo__ joined
chloekek raku-nix sorts version numbers. 15:29
And has the latest version of each distribution.
I’m currently rewriting CRAI to be a lot simpler, I can add an endpoint that prints the latest version of each distribution in a machine-readable format. 15:31
m: say dirname('/a/b/c') 15:32
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
dirname used at line 1
15:32 Sgeo_ left 15:33 girafe2 joined 15:34 NODE left, girafe left 15:35 NODE joined 15:38 NODE left
chloekek AlexDaniel: do you mind running code yourself? 15:38
AlexDaniel: if not, I’ll hopefully finish p6c crawling today, and thatll be a standalone module (depending only on git) 15:39
It’s a single subroutine that returns a Seq of URLs
Oh well it depends on JSON::Fast I guess
And LibCurl, nevermind :sweat_smile: 15:40
15:40 NODE joined
chloekek brb 15:42
AlexDaniel chloekek: yes, I'm fine with running code myself. JSON::Fast and libcurl are fine 15:43
15:43 hungrydonkey joined 15:45 NODE left 15:47 chloekek left, NODE joined, hungryd50 left 15:49 aborazmeh joined, aborazmeh left, aborazmeh joined 15:53 NODE left 15:54 chloekek joined 15:55 NODE joined
AlexDaniel chloekek: actually, I'll probably just change perl6-all-modules to use that instead of whatever it attempts to do currently 15:59
16:00 chloekek left 16:01 Benett left, Benett joined 16:02 Benett left, Benett joined
Geth_ doc/fix-test_files: 046d89fd4b | (Stoned Elipot)++ | lib/Test-Files.pm6
Also split TEST_FILES on newlines

This allows multiple files to be set in TEST_FILES environment variable from a shell command substitution, hence with embedded newlines
16:10 hankache joined
Geth_ doc: stoned++ created pull request #3327:
Also split TEST_FILES on newlines
16:11 Sgeo_ joined, ParsonsNose left 16:14 Sgeo__ left 16:17 Sgeo__ joined
Altai-man_ m: sub a($a ;; $b) {} 16:19
camelia ( no output )
Altai-man_ so just what is... this? 16:20
16:20 Sgeo_ left
Altai-man_ >To exclude certain parameters from being considered in multiple dispatch, separate them with a double semicolon. 16:20
tbrowder Happy Easter to all! 16:22
question about my local Raku compunits used by zef: 16:23
16:25 gabiruh joined
tbrowder are things like api keys "safe" relative to "normal" root privileges? 16:26
16:37 xinming left, hankache left, xinming joined 16:38 Kaiepi left, Hexeratops joined 16:39 Kaiepi joined, vike left 16:40 sena_kun joined 16:42 Altai-man_ left
Geth_ doc: acb3067f63 | Coke++ | doc/Language/operators.pod6
fix typo
linkable6 Link: docs.raku.org/language/operators
16:43 vike joined
Geth_ doc/fix-test_files: e6dfe0bfa3 | (Stoned Elipot)++ | lib/Test-Files.pm6
Fix previous, and while here, split TEST_FILES on any whitespace

thanks @coke!
16:50 ofperfection joined 16:52 Manifest0 left 16:53 xinming left 16:54 xinming joined 17:00 Manifest0 joined 17:01 Kaiepi left 17:02 Kaiepi joined, xinming left 17:03 xinming joined 17:10 rbt left 17:11 rbt joined 17:13 ofperfection left 17:14 seance joined, finsternis left 17:15 finsternis joined 17:16 pecastro left 17:19 xinming left, xinming joined 17:22 chloekek joined, rbt left 17:23 rbt joined 17:32 melezhik joined
sena_kun So now out of 317 examples we have, we can successfully parse (and potentially highlight) 237, nice. 17:36
m: say 237 / 317;
camelia 0.747634
17:41 aborazmeh left
Geth_ doc: 046d89fd4b | (Stoned Elipot)++ | lib/Test-Files.pm6
Also split TEST_FILES on newlines

This allows multiple files to be set in TEST_FILES environment variable from a shell command substitution, hence with embedded newlines
doc: e6dfe0bfa3 | (Stoned Elipot)++ | lib/Test-Files.pm6
Fix previous, and while here, split TEST_FILES on any whitespace

thanks @coke!
doc: 370d238f68 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | lib/Test-Files.pm6
Merge pull request #3327 from Raku/fix-test_files

Also split TEST_FILES on newlines
chloekek Ugh, private repos in p6c source-urls. 17:47
AlexDaniel chloekek: hahaha 17:50
chloekek Git asks for password when I run the CRAI cron job.
17:54 mowcat joined, xinming left 17:55 NODE left, Benett left, xinming joined 17:57 NODE joined 17:59 Doc_Holliwood joined
chloekek GIT_ASKPASS=false GIT_TERMINAL_PROMPT=0 does the trick. 18:03
Really nice that you can use temp with hash assignments! temp %*ENV<GIT_ASKPASS> = 'false';
18:04 hungrydonkey left
chloekek p6: my %h; { temp %h<a> = 1; say %h<a> }; say %h<a> 18:04
camelia 1
18:05 aborazmeh joined, aborazmeh left, aborazmeh joined, melezhik left 18:06 hungrydonkey joined
Geth_ doc/xt-recent: 0b4f443b71 | (Stoned Elipot)++ | util/xt-recent.sh
Do not use a local(?) git alias

while here simplify pipeline
18:17 hungrydonkey left
Geth_ doc: stoned++ created pull request #3328:
Do not use a local(?) git alias
18:18 hungrydonkey joined
AlexDaniel chloekek: you can?! 18:18
chloekek Holy shit yes you can. 18:19
AlexDaniel that's amazing
moritz p6: my %h; { temp %h<a> = 1; say %h<a> }; say %h<a>:exists 18:20
camelia 1
moritz that's the downside 18:21
%h<a> returns a writable container, which is why assigning to it works, and which is why temp can temp it
so when the scope ends, temp resets the container the value it had before (Any), but it doesn't even know there's a hash, so it cannot remove the key
AlexDaniel p6: my %h; { temp %h<a> = 1; say %h<a> }; dd %h 18:22
camelia 1
Hash %h = {:a(Any)}
AlexDaniel riight
chloekek p6: { temp %*ENV<GIT_ASKPASS> = 'false'; }; run('sh', '-c', 'echo $GIT_ASKPASS') 18:25
chloekek p6: { temp %*ENV<GIT_ASKPASS> = 'false'; }; run('env') 18:26
camelia HOME=/home/camelia
SUDO_COMMAND=/home/camelia/rakudo-m-inst/bin/perl6-m --setting=RESTRICTED <tmp>
chloekek Oops lmao.
18:36 hungrydonkey left 18:37 mowotter joined, pecastro joined 18:39 Altai-man_ joined 18:40 mowcat left, poohman joined 18:41 Kaiepi left, sena_kun left
chloekek AlexDaniel: I now have two fairly standalone modules that can retrieve archive URLs from CPAN and p6c, you can use those if you want. 18:44
Dependencies are LibCurl, JSON::Fast and git.
AlexDaniel nice
how? link?
chloekek github.com/chloekek/crai/blob/v2/c...an.rakumod and github.com/chloekek/crai/blob/v2/c...6c.rakumod
POD is at the end.
AlexDaniel hm 18:45
so github understands ```raku but not .rakumod ?
chloekek I guess :þ 18:46
It annoys me too
I’m wondering if Git archive URLs should use tags instead of commits. 18:47
Problem is tags can be rewritten, so probably no.
18:51 poohman left
AlexDaniel chloekek: maybe use tag-commit format, or something like that? 18:51
then it's both readable and unique
chloekek I prefer not to clone each repo.
ls-remote lists all refs on a remote.
AlexDaniel tbh I'm not sure what you're referring to :D
Too few positionals passed; expected 1 argument but got 0 in sub list-p6c-sources 18:52
my code: use Crai::P6c; .say for list-p6c-archives;
using crai in v2 branch 18:53
chloekek lol huh
AlexDaniel the code is taken from the example in one of the files you provided :)
chloekek: heh, ==>, I see you're really having fun with the language :) 18:55
chloekek Ah yeah you have to pass a LibCurl::Easy instance.
I updated the module. 18:56
18:56 Cabanossi joined
chloekek AlexDaniel: Particularly proud of { !$++ || .[1] ne 'HEAD' } 18:56
Skips the HEAD line unless it’s the first line. 18:57
AlexDaniel chloekek: I really enjoyed code-golf.io but even I have no idea :P
chloekek: what's next, fff? :) 18:58
chloekek ff is great.
State variables being properties of the surrounding block, rather than being globals, is one of my favorite Raku design decisions.
18:58 melezhik joined
melezhik I've written a short post announcing a Web UI for RakuDist - sparrowdo.wordpress.com/2020/04/12...te-web-ui/ 18:59
AlexDaniel it's really interesting, there are so many features that you don't see in most code bases. Then you stumble upon a project that does use them, and it's kinda refreshing and scary at the same time :)
chloekek I write Python at work, I get tired of “boring code”.
AlexDaniel I see :) 19:00
chloekek weekly: sparrowdo.wordpress.com/2020/04/12...te-web-ui/ # melezhik++ 19:01
notable6 chloekek, Noted! (weekly)
AlexDaniel chloekek: see, just bombard that API ↑ and you'll have test stats in CRAI :D 19:03
chloekek I wish you could put comments in URLs.
Like you can put comments in email addresses.
Hmm wait, you can put fragments in URLs, I wonder how various tools treat them, such as Nix and curl. 19:04
AlexDaniel raku.org/#sule,why-not? ?
chloekek Because having github.com/owner/repo/archive/comm...gz#tagname 19:05
That would be amazing.
AlexDaniel shareable6: HEAD#test-test
shareable6 AlexDaniel, whateverable.6lang.org/HEAD#test-test
AlexDaniel dat works
chloekek Yeah, curl seems to ignore it. But Nix complains. :( 19:06
Well, I suppose tools that croak can just filter them out themselves. :)
19:07 astronavt joined
AlexDaniel chloekek: ok, it's running. Sloow. 19:08
chloekek Yep, GitHub is slow. 19:09
19:09 melezhik left, melezhik joined
melezhik chloekek: thanks 19:10
19:12 xinming left 19:13 xinming joined
Geth_ doc/str-index-i_m: 9d04f32134 | (Stoned Elipot)++ | 2 files
Document Str.index ignorecase/ignoremark

while here:
  - Str.index is a method: adjust section heading and use it in examples
  - revisit Cool.index description
doc: stoned++ created pull request #3329:
Document Str.index ignorecase/ignoremark
19:18 melezhik left
Geth_ doc/str-starts-with-i_m: befa0cedd3 | (Stoned Elipot)++ | doc/Type/Str.pod6
Document Str.starts-with ignorecase/ignoremark

XXX Should Cool.starts-with be documented ?
chloekek AlexDaniel: What’s fun is that downloading most archives is faster than just finding them.
AlexDaniel chloekek: I have a question… do you treat these .tar.gz's from github as if they're immutable? 19:19
I mean, that fetching them again will result in the same file 19:20
chloekek Yes, that’s very important. 19:23
AlexDaniel chloekek: okay. Well, oops? :)
I don't think that's the case
chloekek Unfortunately GitHub sometimes changes these.
AlexDaniel yeah
chloekek It’s very annoying but I don’t know a good solution.
Other than mirroring them, I guess.
I also don’t know exactly what the difference is. 19:25
Perhaps order of files or something silly like that.
AlexDaniel you can also normalize them somehow
or whatever you'd call that
chloekek Hash the extracted files.
19:25 Kaiepi joined
chloekek Mirroring is probably easier, but also more expensive (financially, not computationally). 19:27
19:30 Hexeratops left 19:31 rindolf left
AlexDaniel yeah, unfortunate. Storing individual tars is wasteful, but how else can you guarantee that they stay exactly the same. 19:32
19:35 caterfxo left 19:40 mowotter left
chloekek AlexDaniel: How did you observe that it’s not consistent? 19:42
AlexDaniel chloekek: not now, I just stumbled upon the issue in the past, don't remember why 19:43
chloekek Ah yeah. 19:44
19:44 xinming left
chloekek There is already one package on CRAI that suffers from this. 19:44
19:47 xinming joined 19:52 stoned75_ joined, stoned75 left 19:53 melezhik joined
chloekek AlexDaniel: I have an idea: first download from GH, only if the hash doesn’t match, download from the mirror. 19:55
Then the load on the mirror should be minimal.
melezhik AlexDaniel: chloekek: if you start "bombard that API ↑ " there could performance issues, as the VM resources is limited and API itself is not optimized
but ... please let me know I'd more then happy to help 19:56
chloekek AlexDaniel: Though, I have never looked at things like CDNs, maybe they’re very cheaps.
S3 is out of the question for me because of ethical concerns, but there are probably good alternatives. 19:57
Wouldn’t mind paying a few € each month, already do so to host the app (Hetzner). 20:00
20:03 aborazmeh left, caterfxo joined 20:05 stoned75_ left 20:06 stoned75 joined
El_Che github immutable = it should be if you only download tags and tags aren't moved around 20:13
Doc_Holliwood m: sub f() returns (Bool) { 1 }; say f()
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed trait
at <tmp>:1
------> 3sub f() returns7⏏5 (Bool) { 1 }; say f()
Doc_Holliwood m: sub f() returns Bool { so 1 }; say f()
camelia True
Doc_Holliwood fine 20:14
chloekek p6: print '%23'.subst(/'%'(<xdigit>**2)/, { chr(:16($0)) }, :g); 20:16
camelia This call only converts base-16 strings to numbers; value Match.new(:orig("\%23"), :from(1), :pos(3), :hash(Map.new((:xdigit([Match.new(:orig("\%23"), :from(1), :pos(2)), Match.new(:orig("\%23"), :from(2), :pos(3))]))))) is of type Match, so cannot be…
20:22 aborazmeh joined, aborazmeh left, aborazmeh joined 20:32 dogbert17 left
AlexDaniel melezhik: I'm kidding, of course, but it's an interesting opportunity in general :) 20:33
El_Che: yeah! Wrong
El_Che: and those who tried signing release tars provided by github learned it the hard way :) 20:34
melezhik AlexDaniel: chloekek: An idea. I could adjust RakuDist to test Nix Raku packages, something could be useful for CRAI test? to see if packages get broken, etc
AlexDaniel El_Che: we don't do that and we never did, but then there's another problem: people occasionally download the wrong tar… 20:35
which btw you cannot disable on github
chloekek melezhik: That would be neat.
raku-nix is still in its infancy though, many things break. 20:36
melezhik so rakudist/sparrow are ;-) 20:37
chloekek Currently I have CI, but it only tests precompilation, does not run tests.
AlexDaniel weekly: It's all about the modules! :) melezhik is working on RakuDist and chloekek is working on CRAI. Pretty cool.
notable6 AlexDaniel, Noted! (weekly)
chloekek Lol that CI is extremely broken. 20:38
melezhik chloekek: let me check that 20:39
chloekek Because I don’t currently generate default.nix, so most packages are missing from it.
I’ll fix that immediately.
melezhik if you brief me what exactly this CI does?
github.com/chloekek/raku-nix/runs/...focus=true 20:40
20:40 sena_kun joined
melezhik looks like just build nix pakages for raku ecosystem? 20:41
20:42 Altai-man_ left
melezhik oh, and I see that - github.com/chloekek/raku-nix/blob/...ows/ci.yml 20:43
20:43 sftp left
chloekek It precompiles each distribution listed. 20:44
Using a Nix derivation (package description) generated from META6.json.
melezhik yeah ... where packages are published to, aftewards?
chloekek They aren’t. People can use raku-nix and build themselves, using Nix. They will hopefully get the same build output. 20:46
At some point I want to set up a Nix cache, and then Nix will automatically pull from there.
For instance, I use raku-nix to build CRAI, so when I build CRAI, Nix will fetch all dependencies, build them from source if necessary. 20:47
melezhik yeah, what is CRAI?
is it a nix repo? 20:48
chloekek It’s an app, and I build it with Nix.
melezhik sorry I need to go, ttl
chloekek Nix is a package manager, but also a build system.
melezhik yeah. I am interested how sparrow/rakudist could be useful in building / testing nix based Raku distribution 20:49
could send me a link to CRAI as well? 20:51
chloekek Pretty much all you have to do is install Nix, clone raku-nix, then nix build -A $PACKAGE. It will then write to stdout the path to the build output.
github.com/chloekek/crai computes hashes of packages (Nix requires hashes to check integrity)
I generate the Nix package descriptions from the information collected by CRAI 20:52
Goodbye for today, brain = fried. 21:01
21:06 chloekek left 21:12 imcsk8 left 21:14 imcsk8 joined 21:18 softmoth left 21:19 softmoth joined 21:25 rbt left 21:26 rbt joined 21:28 pecastro left 21:30 xinming left, xinming joined 21:38 clarkema joined 21:44 Kaiepi left, Kaiepi joined 21:45 Kaiepi left 21:53 Kaiepi joined 22:03 cognomin_ joined 22:06 cognominal left 22:16 sena_kun left 22:20 imcsk8 left 22:27 hungrydonkey joined 22:50 rbt left 22:51 rbt joined 22:53 mowcat joined
cpan-raku New module released to CPAN! Data::Record (0.2.3) by 03KAIEPI 22:54
22:57 seance left 22:58 seance joined 23:00 hungrydonkey left 23:07 cpan-raku left 23:08 melezhik35 joined, melezhik35 is now known as melezhik2 23:09 cpan-raku joined, cpan-raku left, cpan-raku joined, xinming left 23:10 xinming joined 23:18 melezhik2 left 23:19 Kaiepi left 23:20 softmoth left, clarkema left 23:21 Kaiepi joined 23:23 Kaeipi joined, Kaiepi left 23:31 mowcat left 23:34 softmoth joined 23:48 hungrydonkey joined 23:56 bdju left, bdju joined