!sUXcTulPzyhnqOiFPL:helsinki-systems.de

NixOS Perl

49 Members
13 Servers

Load older messages


SenderMessageTime
25 Mar 2023
@hexa:lossy.networkhexanobody should be able to use DES anymore 🙂22:15:56
26 Mar 2023
@stigo:matrix.orgstigoSeems to be some additional fallout, like Authen::Htpassword, looking at those00:19:02
@stigo:matrix.orgstigo
In reply to @stigo:matrix.org
Seems to be some additional fallout, like Authen::Htpassword, looking at those
Fixed in https://github.com/NixOS/nixpkgs/pull/223180
02:30:53
3 Apr 2023
@stigo:matrix.orgstigoDoes anyone have some tips on parsing nix files? My Regexp::Common approach on perl-packages.nix is failing now. Specifically, I need to figure out the offsets in the file where a particular derivation is defined.15:16:08
@stigo:matrix.orgstigo
15:17:57
@stigo:matrix.orgstigo *
                     ($RE{balanced}{-parens=>'{}'})/gx) {

15:18:12
@stigo:matrix.orgstigo *
      while ($nix =~ m/(([\w-]+)\s+=\s+buildPerl(Package|Module)\s+(?:rec)?\s*)
                     ($RE{balanced}{-parens=>'{}'})/gx) {
15:18:39
@stigo:matrix.orgstigo^^ this hack used to work, but it's kinda fragile and was wondering if there is a more correct way of parsing it15:19:13
@stigo:matrix.orgstigo * ^^ this hack used to work, but it's kinda fragile and was wondering if someone has some hints on a more correct way of parsing it15:21:07
@andreas.schraegle:helsinki-systems.de@andreas.schraegle:helsinki-systems.decan't nix env do that? 🤔15:22:27
@stigo:matrix.orgstigoWould be nice to be able to use nix-instansiate for instance, did some experiments with returning json but wasn't able to find the offsets iirc.15:25:13
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deCouldn't you call into some rnix library? 15:25:46
@stigo:matrix.orgstigoHaving a look at https://github.com/nix-community/rnix-parser15:34:48
@stigo:matrix.orgstigo Hm, also nix-env -f '.' -qa -A perlPackages --json --meta gives a meta.position key in the output with the start offset. Could be useful. Thanks :-) 15:42:49
7 Apr 2023
@artturin:matrix.orgArtturinhttps://github.com/NixOS/nixpkgs/pull/22410715:32:50
15 Apr 2023
@hexa:lossy.networkhexa stigo: is there anything we can do about HTTP:Tiny? 19:12:00
@hexa:lossy.networkhexalike fix the default 😄19:12:05
@hexa:lossy.networkhexabecause like … what the hell?19:12:19
@hexa:lossy.networkhexahttps://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/ for context19:12:26
@qyliss:fairydust.spaceAlyssa Rossdidn't we already?19:12:27
@hexa:lossy.networkhexadid we?19:13:01
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.dePretty sure 19:13:45
@qyliss:fairydust.spaceAlyssa Rossthe linked reddit post says we did19:13:49
@qyliss:fairydust.spaceAlyssa Rosshttps://github.com/NixOS/nixpkgs/pull/18748019:14:03
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.dehttps://github.com/NixOS/nixpkgs/pull/18748019:14:16
@hexa:lossy.networkhexagreat!19:14:21
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deAh lol19:14:22
@hexa:lossy.networkhexastigo just boosted in on mastodon, so I had to ask 😄19:14:31
@hexa:lossy.networkhexaand obviously didn't expect the post to link back to us19:14:43
@stigo:matrix.orgstigo
In reply to @hexa:lossy.network
stigo: is there anything we can do about HTTP:Tiny?
We're safe, HTTP::Tiny is patched in nixpkgs
20:24:55

Show newer messages


Back to Room ListRoom Version: 9