!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

231 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
10 Aug 2022
@nbp:mozilla.orgnbp * I would recommend against adding fix-points out-side the top-level Nixpkgs one, as this is required for pealing the fix-point away in the security update branch. (necessary logic for grafting). This might be fine for package, but not for set of packages such as python/haskell/emacs/… 15:54:51
@j-k:matrix.orgj-kgytis link - https://github.com/gytis-ivaskevicius/nix-reinventing-the-wheel/15:56:40
@nbp:mozilla.orgnbpI will also note that the reason we have multiple override functions is because we have /functions/.15:56:51
@Ericson2314:matrix.orgJohn EricsonAlso note we should get rid of file inputs and sources assuming they are setup hooks15:57:24
@Ericson2314:matrix.orgJohn Ericson only nix-support/setup-hook should be sourced 15:57:57
@infinisil:matrix.orginfinisilOh no, forgot to save chat16:02:18
@infinisil:matrix.orginfinisilDamn, can't scroll all the way back16:02:53
@nbp:mozilla.orgnbp infinisil: Thanks for hosting these live meetings & recordings. 16:03:24
@qyliss:fairydust.spaceAlyssa Ross^^16:03:34
@kity:kity.wtfproblems
In reply to@jtojnar:matrix.org
that is what Robert’s https://github.com/NixOS/nixpkgs/pull/119942 is for
is there a plan for adoption of this throughout nixpkgs?
16:03:56
@roberthensing:matrix.orgRobert Hensing (roberth) infinisil: I think we need a new column on the board for issues that are paused 16:04:14
@infinisil:matrix.orginfinisilOh yeah, I haven't updated the board and github issues very diligently16:04:31
@infinisil:matrix.orginfinisil But yes that sounds good, feel free to make that change Robert Hensing (roberth) 16:04:43
@infinisil:matrix.orginfinisilIf somebody would like to add something to the meeting notes (especially from discussions in the chat or towards the end), feel free to: https://pad.lassul.us/uIi7xeSJTW6LJUEHulZgVQ?edit16:05:09
@jtojnar:matrix.orgJan Tojnarhere is the chat as html https://gist.github.com/jtojnar/000009de2be7fd287eafe1ad43b63d6e16:05:25
@qyliss:fairydust.spaceAlyssa Rossthank you jtojnar!16:05:50
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusI droped response to the eval all the things argument:16:06:52
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
 - @ash: Problem that everything needs to be imported, even if not enabled
      - @Gytis: No, there is no need to import any extras. 1 eval loop per derivation builder and we define what goes into the eval loop via `imports`. Example: `pkgs.buildDerivation { imports = [ pkgs.rustBuilder]; }`
16:06:54
@infinisil:matrix.orginfinisilAhh I see, neat!16:07:27
@kity:kity.wtfproblemsmakes sense to me16:08:08
@kity:kity.wtfproblemshow is that configured?16:08:28
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciuswell this is how you evaluate something https://github.com/gytis-ivaskevicius/nix-reinventing-the-wheel/blob/master/builders/default.nix#L25-L2816:09:00
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusbasically by default you have empty modules system and you explicitly add options16:09:26
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusBut yeah, it sounds like we ruled it out16:09:34
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusfunction call != marging attributes sets + checking types16:09:54
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @gytis-ivaskevicius:matrix.org
I droped response to the eval all the things argument:
this is true, but still the module system adds a constant factor. Note that you'll apply it to thousands of derivations
16:10:00
@infinisil:matrix.orginfinisil I do also see your number-ordering based phases mechanism here Gytis Ivaskevicius: https://github.com/gytis-ivaskevicius/nix-reinventing-the-wheel/blob/master/builders/gnumake.options.nix#L83-L93 16:10:05
@infinisil:matrix.orginfinisilThat certainly is an alternative to the current phases16:10:19
@roberthensing:matrix.orgRobert Hensing (roberth)anything we can push into the builder instead of the evaluator is a win for performance16:10:28
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @infinisil:matrix.org
I do also see your number-ordering based phases mechanism here Gytis Ivaskevicius: https://github.com/gytis-ivaskevicius/nix-reinventing-the-wheel/blob/master/builders/gnumake.options.nix#L83-L93
yeah, this way we never need to worry about forgetting fixup phases in phases variable and users are super easily capable of inserting extra phases which should heavily improve derivations overitability
16:11:21

There are no newer messages yet.


Back to Room ListRoom Version: 9