14 Jan 2025 |
infinisil | @grimmauld:grimmauld.de https://github.com/NixOS/nixpkgs-vet?tab=readme-ov-file#ratchet-checks
| 11:40:20 |
infinisil | And https://github.com/NixOS/nixpkgs-vet/pull/142 would introduce a new one for with
| 11:41:23 |
| ceverekomu joined the room. | 11:53:38 |
Perchun Pak | funny that I am working on finalAttrs support for buildPython* right now and while I wait for eval results I read this chat
not everything can be implemented using hooks, how could you implement something like this?
https://github.com/NixOS/nixpkgs/blob/deb4f62a8ad1971753042cdb34138f739110425f/pkgs/development/libraries/astal/buildAstalModule.nix#L40-L78 | 12:10:04 |
collares | It would be good to have data on whether finalAttrs is responsible for the huge increase in nixpkgs-review eval time over the last year | 12:24:05 |
collares | This whole finalAttrs thing really should have been an RFC, given the multiple perf concerns in #119942. But I think people were getting impatient. | 13:13:04 |
collares | (and I don't remember if there was a good RFC system at the time) | 13:14:03 |
emily | there was the same bad RFC system that exists now | 14:49:00 |
amadaluzia | has anyone ever bothered packaging the xontribs as of yet? | 14:53:27 |
amadaluzia | for non-xonsh users: a xontrib is an extension for xonsh | 14:54:00 |
amadaluzia | they are basically just python packages but weird | 14:54:23 |
amadaluzia | they use their own xsh format which is python but with xonsh's magic hand
| 14:54:47 |
amadaluzia | https://github.com/74th/xonsh-direnv | 14:55:11 |
amadaluzia | an example xonsh is this | 14:55:15 |
amadaluzia | * | 14:55:39 |
hexa | has a setup.py, how weird can it be? | 14:55:49 |
hexa | they probably abuse pypi as a distribution point | 14:56:17 |
amadaluzia | it hasn't treated xonsh users badly | 14:56:29 |
amadaluzia | i know someone who uses xonsh with nix and they have a crazy extraPackages override | 14:56:51 |
emily | xonsh packaging is already very weird in Nixpkgs I think | 14:56:57 |
emily | because of PYTHONPATH madness | 14:57:01 |
amadaluzia | * | 14:57:18 |
amadaluzia | what am i looking at lol | 14:58:19 |
amadaluzia | never seen someone let the entire derivation then use it | 14:58:44 |
amadaluzia | * | 14:58:55 |
amadaluzia | https://github.com/NixOS/nixpkgs/blob/9abb87b552b7f55ac8916b6fc9e5cb486656a2f3/pkgs/by-name/xo/xonsh/unwrapped.nix#L13 | 14:59:44 |
amadaluzia | do python modules go in pkgs/development/python-modules ? or good old pkgs/by-name
| 15:19:54 |
adamcstephens | In reply to @amadaluzia:tchncs.de never seen someone let the entire derivation then use it That happens in nixpkgs more than you’d have guessed | 15:20:23 |
adamcstephens | It’s never been clear to me why | 15:20:47 |
amadaluzia | i usually just let pname and version | 15:20:49 |