| 26 Aug 2021 |
davidak | other distros have a graphical installer... and you can choose between installing or trying out the live environment. on nixos you are just lost | 01:08:34 |
davidak | https://chaos.social/@davidak/106824627029097162 | 22:19:48 |
| 28 Aug 2021 |
matthewcroughan - nix.zone | I've produced the following video, which might be helpful for some. https://youtu.be/OV2hi8b5t48 | 01:43:12 |
tomberek | Very cool. I never knew you could chain the pkgsCross with pkgsStatic that way. | 02:03:33 |
samueldr | note: the order matters; it won't produce the same output | 02:06:05 |
matthewcroughan - nix.zone | In reply to @samueldr:matrix.org note: the order matters; it won't produce the same output Does that mean that there is not idempotence where there should be idempotence? Or is this correct behavior? Could it be fixed, or is it desirable for there to be different results based on the ordering? | 02:08:51 |
samueldr | I don't recall | 02:09:05 |
samueldr | I believe static -> cross makes the toolchain static, which doesn't work, or something like that, while cross -> static works | 02:09:38 |
tomberek | how about something like: pkgsStatic.<some Go Pacakge>. I'd guess that would try to set CGO_ENABLED=0 and some ldflags. Instead it seems to build Go and starts using musl and fails. | 02:10:58 |
matthewcroughan - nix.zone | pkgsStatic contains an attrset which happens to also contain pkgsCross, and vice-versa.. It's an interesting problem. | 02:11:01 |
matthewcroughan - nix.zone | It's not a problem, because it's exactly as you'd expect, and has nothing to do with idempotence like I thought then. | 02:11:25 |
matthewcroughan - nix.zone | If there is terminology for the problem of ordering, I don't know what it'd be called, because it does make sense as to what's happening. The sets contain eachother. | 02:12:01 |
samueldr | just a note about the behaviour, not a bug | 02:12:50 |
matthewcroughan - nix.zone | Well you could make the case that pkgsCross shouldn't be in pkgsStatic's set and should be filtered out if we know it doesn't make sense :D | 02:13:20 |
tomberek | (some languages have fairly good cross-compilation stories in their native compilers that dodge issues of needing large toolchains. Exposing that in a similar way would be cool.) | 02:20:22 |
matthewcroughan - nix.zone | buildGoModule.allArchs = true; would be quite cool. | 02:23:18 |
matthewcroughan - nix.zone | * buildGoModule.allArchs.static = true; would be quite cool. | 02:23:43 |
matthewcroughan - nix.zone | The result would then contain binaries for all architectures, which the user can then distribute to normal distributions, since this is usually what people do with Go binaries anyway. | 02:23:58 |
| Eelco 😴changed room power levels. | 02:25:53 |
| @grahamc:nixos.org invited NixOS Moderation Bot. | 02:26:23 |
| NixOS Moderation Bot joined the room. | 02:26:24 |
tomberek | Probably good to put the video into the next NixOS weekly. | 02:28:18 |
| NixOS Moderation Bot banned matthewcroughan - nix.zone (<no reason supplied>). | 02:29:26 |
| Room Avatar Renderer. | 02:38:01 |
tomberek | For what it's worth, I don't think that was necessary. | 02:43:43 |
@grahamc:nixos.org | Abusive behavior isn’t acceptable in the community, and doesn’t start and stop at the boundaries of one room or channel. We’ll revisit the ban another time. | 02:50:54 |
jonringer | what did he do this time? | 03:18:32 |
jonringer | actually nevermind, less drama I'm aware of, the happier I generally am | 03:25:44 |
jonringer | While IRC was still the official platform I was flirting with banning him from discord since he would like to walk the line of being edgy and/or malicious at times | 03:26:49 |
David Arnold (blaggacao) | In reply to @grahamc:nixos.org Abusive behavior isn’t acceptable in the community, and doesn’t start and stop at the boundaries of one room or channel. We’ll revisit the ban another time. I was thinking about this a bit. I think it is important to separate the retaliative/educative from the protective mandate. One is definitly stronger than the other. Local bans can be an option. | 15:29:17 |