25 Mar 2023 |
hexa | nobody should be able to use DES anymore 🙂 | 22:15:56 |
26 Mar 2023 |
stigo | Seems to be some additional fallout, like Authen::Htpassword, looking at those | 00:19:02 |
stigo | 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 | Does 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 |
| 15:17:57 |
stigo | * ($RE{balanced}{-parens=>'{}'})/gx) {
| 15:18:12 |
stigo | * while ($nix =~ m/(([\w-]+)\s+=\s+buildPerl(Package|Module)\s+(?:rec)?\s*)
($RE{balanced}{-parens=>'{}'})/gx) {
| 15:18:39 |
stigo | ^^ this hack used to work, but it's kinda fragile and was wondering if there is a more correct way of parsing it | 15:19:13 |
stigo | * ^^ 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 it | 15:21:07 |
@andreas.schraegle:helsinki-systems.de | can't nix env do that? 🤔 | 15:22:27 |
stigo | Would 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 | Couldn't you call into some rnix library? | 15:25:46 |
stigo | Having a look at https://github.com/nix-community/rnix-parser | 15:34:48 |
stigo | 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 | https://github.com/NixOS/nixpkgs/pull/224107 | 15:32:50 |
15 Apr 2023 |
hexa | stigo: is there anything we can do about HTTP:Tiny? | 19:12:00 |
hexa | like fix the default 😄 | 19:12:05 |
hexa | because like … what the hell? | 19:12:19 |
hexa | https://blog.hackeriet.no/perl-http-tiny-insecure-tls-default-affects-cpan-modules/ for context | 19:12:26 |
Alyssa Ross | didn't we already? | 19:12:27 |
hexa | did we? | 19:13:01 |
@janne.hess:helsinki-systems.de | Pretty sure | 19:13:45 |
Alyssa Ross | the linked reddit post says we did | 19:13:49 |
Alyssa Ross | https://github.com/NixOS/nixpkgs/pull/187480 | 19:14:03 |
@janne.hess:helsinki-systems.de | https://github.com/NixOS/nixpkgs/pull/187480 | 19:14:16 |
hexa | great! | 19:14:21 |
@janne.hess:helsinki-systems.de | Ah lol | 19:14:22 |
hexa | stigo just boosted in on mastodon, so I had to ask 😄 | 19:14:31 |
hexa | and obviously didn't expect the post to link back to us | 19:14:43 |
stigo | 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 |