| 27 Jun 2023 |
John Ericson | did we have meeting today? | 14:51:27 |
infinisil | In reply to @Ericson2314:matrix.org did we have meeting today? I asked Robert Hensing (roberth) to lead it while I'm on vacation, did it not happen after all today? | 15:13:40 |
Robert Hensing (roberth) | oh no, I didn't get a notification from my calendar | 16:30:00 |
Robert Hensing (roberth) | I am so sorry :( | 16:30:18 |
Robert Hensing (roberth) | I'd even put an extra item for preparation. wth | 16:37:19 |
| 28 Jun 2023 |
tomberek | i've been out on vacation (and have more coming up in mid-July). apologies for the sporadic attendance | 13:18:20 |
| 4 Jul 2023 |
| jlesquembre joined the room. | 09:15:16 |
| 5 Jul 2023 |
| AtnNn joined the room. | 18:22:56 |
| 10 Jul 2023 |
infinisil | This is the second time that I tried to pass leadership of these meetings to somebody else but it failed for various reasons. Combined with the fact that every meeting it's just me monologuing anyways makes me really wonder how such a team should be run | 13:58:00 |
Growpotkin | I appreciate you bro! <3 | 13:58:31 |
Growpotkin | Honestly I don't so much think this had to do with anyone being out of town. Recently we just haven't had much to work on since we're waiting on that RFC | 13:59:03 |
Growpotkin | So there's not like action items or anything like that from what I can tell | 13:59:21 |
Growpotkin | I think the WG is going a bit better because we had assignments. | 13:59:46 |
infinisil | Yeah that's what we've been going for. Don't do work as part of the NAT, but rather working groups. | 14:00:15 |
Growpotkin | I know organizing the NAT takes effort, and I appreciate the dedication. Don't feel like it's going poorly. | 14:01:10 |
infinisil | We could have more working groups if we can find a leader and a topic people can spend time to work on | 14:01:18 |
Growpotkin | cooking up a few things to work on might help for NAT | 14:01:27 |
toonn | The overhead of attending meetings is not to be underestimated. When you can attend them on a payroll it's very different from when you have to dedicate personal time to them. It's a very high friction form of interaction for volunteers. | 14:09:04 |
toonn | And that's just *attending* them. Organizing is another couple steps up. | 14:09:33 |
@piegames:matrix.org | infinisil: I'd like to see the first RFC 140 implementation PR ready for being merged soon, if possible | 14:41:10 |
adisbladis | Have anyone else thought of restructuring how we use stdenv.mkDerivation like this before?
let
# Boilerplate import, not interesting.
pkgs = import <nixpkgs> { };
inherit (pkgs) stdenv lib;
src = pkgs.hello.src; # Just some random sources to showcase the idea
# An example of how to possibly structure derivations such as they can be fully overrideable through overrideAttrs
example = stdenv.mkDerivation (finalAttrs: {
# Arguments are no longer arguments to to the function that returns the derivation
# they are instead in passthru so they compose.
#
# You could also add a type system on top of this (yants/NixOS module system types)
# so derivation arguments are introspectable in a standardised way.
passthru.args = {
pname = "example";
version = "0.1.0";
withCrypto = false;
};
# Inputs might be overridable in the same way.
passthru.inputs = {
inherit src;
inherit (pkgs) openssl;
};
# This is a bit awkward for now..
inherit (finalAttrs.passthru.args) pname version;
inherit (finalAttrs.passthru.inputs) src;
buildInputs = lib.optional finalAttrs.passthru.args.withCrypto finalAttrs.passthru.inputs.openssl;
});
in
example.overrideAttrs (oldAttrs: {
passthru = oldAttrs.passthru // {
args = oldAttrs.passthru.args // {
withCrypto = true;
};
};
})
This strikes me as a more concise way and would leave us with one blessed way to override regardless of context. It would also be more introspectable than function args which are currently mixed between build configuration and build inputs.
I haven't thought too much about this yet and it might be a bad idea.
| 14:43:04 |
K900 (deprecated) | That's getting dangerously close to packages-as-modules already tbh | 14:44:14 |
K900 (deprecated) | So I'd rather just do that | 14:44:20 |
adisbladis | In reply to @k900:conduit.0upti.me That's getting dangerously close to packages-as-modules already tbh Modules in what sense? | 14:44:53 |
K900 (deprecated) | Similar to how the current module system for NixOS options works | 14:45:14 |
K900 (deprecated) | But on a per-package basis | 14:45:22 |
@piegames:matrix.org | Also, that's a lot of magic code and boilerplate, even for Nix' standards | 14:45:41 |
adisbladis | In reply to @piegames:matrix.org Also, that's a lot of magic code and boilerplate, even for Nix' standards I'm showcasing an idea, it's possible to make it less code. | 14:46:12 |
K900 (deprecated) | Ot | 14:46:21 |
K900 (deprecated) | * It's a thing that has been discussed a lot | 14:46:33 |