!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

408 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.135 Servers

Load older messages


SenderMessageTime
19 Aug 2025
@emilazy:matrix.orgemilyposition doesn't tell you what overrides might apply, etc.18:49:39
@emilazy:matrix.orgemily the correct solution is to do it by .drv, which is how nixpkgs-review --depth would work if someone felt like implementing it 18:49:52
@jade_:matrix.orgjade_oh sure, i just want to know attr names that come from a given file name18:49:53
@emilazy:matrix.orgemily you can just arrange the graph of changed .drvs such that you only test things that aren't changing only because something upstream changed, and tier those so that --depth 1 builds directly changed packages, --depth 2 builds packages that use directly changed packages, --depth 3 builds packages that use those, etc. 18:50:47
@jade_:matrix.orgjade_https://github.com/Mic92/nixpkgs-review/issues/554 filed a bug so that it's at least tracked where someone might find it if they're bored18:52:25
@jade_:matrix.orgjade_how does it match drvs? trivially by name or by similarity metric plus name or?18:52:46
@emilazy:matrix.orgemily I had a more written up design somewhere but not to hand. I think you do not actually need to match .drvs at all 18:53:15
@emilazy:matrix.orgemily like it's something approximating "cut off things that mention the .drvs you are rebuilding in this tier". and the lowest depth is, rebuild packages that do not mention any .drvs that are present in the before eval 18:54:32
@emilazy:matrix.orgemilythough that would punt things you directly change but that depend on other things you directly change to the next depth18:54:46
@emilazy:matrix.orgemily to avoid that you'd need to match up .drvs yeah 18:54:58
@jade_:matrix.orgjade_mmm18:55:41
@jade_:matrix.orgjade_the lack of ability to get metadata into drvs is rather irritating18:55:51
@k900:0upti.meK900I have like 80% of this in nix-drv-index tbh18:56:42
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
oh lol vcunat intervening in that commit in the comment area
I remember a staging-next breaking due to the introduction of incorrect floating-point behaviour in unrelated code.
19:50:50
@jade_:matrix.orgjade_
(
  (source_code
    expression: (function_expression
      formals: (formals
        formal: (formal name: (identifier) @ident)
      )
    )
  )
  (#any-of? @ident "pytestCheckHook" "pytest")
)

well that didn't require much thinking

20:58:01
@raitobezarius:matrix.orgraitobezarius WeetHet https://git.lix.systems/lix-project/lix/issues/966#issuecomment-14125 sadness 20:59:19
@raitobezarius:matrix.orgraitobezariusalso darwin CI still not my friend21:00:10
@raitobezarius:matrix.orgraitobezarius https://gerrit.lix.systems/c/lix/+/4004 21:00:14
@jade_:matrix.orgjade_ https://bytes.zone/posts/tree-grepper/ wow this is cool. sorta off topic. i am going to probably write a nixpkgs package. 21:19:13
@piegames:flausch.socialpiegamesWoow21:40:04
@piegames:flausch.socialpiegamesNeed21:40:05
@emilazy:matrix.orgemilywe have https://github.com/ast-grep/ast-grep iirc21:41:13
@emilazy:matrix.orgemilyI believe people have used it for Nixpkgs work21:41:19
@emilazy:matrix.orgemilyprobably more Production Ready™21:41:47
@jade_:matrix.orgjade_it, very frustratingly, does not take tree sitter queries in s-expr form21:49:10
@jade_:matrix.orgjade_i have tried it before, it has a bunch of opinions which annoy me a varying amount depending on the day21:49:34
@jade_:matrix.orgjade_mostly just that repos should be configured for it (which is totally fair and defensible, but someone might whine about it in nixpkgs)22:00:14
@jade_:matrix.orgjade_https://github.com/NixOS/nixpkgs/pull/435115 have! (with review request attached :P)22:27:22
20 Aug 2025
@federicodschonborn:matrix.orgFederico Damián Schonborn (he/they) changed their profile picture.01:06:55
@raitobezarius:matrix.orgraitobezarius
In reply to @raitobezarius:matrix.org
https://gerrit.lix.systems/c/lix/+/4004
that revert might not make sense in the end
10:20:22

Show newer messages


Back to Room ListRoom Version: 10