22 Jun 2024 |
vcunat |
the idea was that the stdenv package itself gains a checkPhase
Oh, OK. Though an issue is that you can often break it by per-package stuff, e.g. NIX_CFLAGS_COMPILE.
| 14:12:36 |
p14 | In reply to @vcunat:matrix.org
the idea was that the stdenv package itself gains a checkPhase
Oh, OK. Though an issue is that you can often break it by per-package stuff, e.g. NIX_CFLAGS_COMPILE.
Yeah; I realise that is also an issue. I am first considering just broken stdenv though. At least with a stdenv check you only pay for a trivial compile once for the stdenv and not for every package, which seems more bearable. A per package check might also be nice but obviously comes at a greater compute cost. | 14:41:40 |
p14 | In reply to @artturin:matrix.org I think so do check Not quite able to follow what you mean there by “after the builder”, what I see is that stdenv has a fairly trivial shell script which builds the stdenv and it has the cc passed into it. Unless I misunderstand… | 14:43:17 |
29 Jun 2024 |
| mib 🥐 joined the room. | 22:25:02 |
4 Jul 2024 |
| Philip Taron (UTC-8) left the room. | 15:46:23 |
| Philip Taron (UTC-8) joined the room. | 15:54:09 |
| Benedikt changed their display name from Soispha to Benedikt. | 19:10:28 |
7 Jul 2024 |
| dminca joined the room. | 09:39:05 |
9 Jul 2024 |
| reno joined the room. | 20:30:35 |
10 Jul 2024 |
Ramses 🇵🇸 | Could I get a review and potential merge on this PR? At least one person ran into trouble because of the issue it's fixing (compiler flags being repeated hundreds of times) https://github.com/NixOS/nixpkgs/pull/301634 | 18:25:47 |
Mindavi | I still kinda wish it wouldn't all be bash, it's not easy on the eyes at all | 20:19:52 |
Ramses 🇵🇸 | Totally agree, it wasn't fun at all to write this function, but it seems that we're stuck with bash for the foreseeable future | 23:04:58 |
11 Jul 2024 |
Mindavi | Thank you for doing that | 07:39:25 |
Mindavi | I've one question and then I'd say it's good to go, but my bash isn't that great | 07:39:58 |
15 Jul 2024 |
| @sielicki:matrix.org left the room. | 00:28:04 |
| dminca changed their display name from dminca to nixpkgs. | 17:28:44 |
| dminca changed their display name from nixpkgs to dminca. | 17:42:24 |
23 Jul 2024 |
| Ezzobir Bezziou joined the room. | 08:21:01 |
24 Jul 2024 |
| Redstone changed their display name from redstone-menace to Redstone. | 10:15:29 |
26 Jul 2024 |
| Tristan Ross joined the room. | 03:12:38 |
30 Jul 2024 |
Tristan Ross | Looking into getting Zig to be able to bootstrap Nix. I have started figuring things out. | 04:02:04 |
Tristan Ross | The idea is to be able to use Zig to bootstrap Nix for LLVM. | 04:02:48 |
reno | what is the benefit of using zig than just using llvm to bootstrap itself like what is done in freebsd and darwin? | 04:27:39 |
reno | * what is the benefit of using zig than just using llvm to bootstrap itself like what is done in freebsd and darwin? or gcc like is done on linux | 04:29:13 |
Tristan Ross | In reply to @paparodeo:matrix.org what is the benefit of using zig than just using llvm to bootstrap itself like what is done in freebsd and darwin? or gcc like is done on linux Zig prebuilds are a static binary with Clang statically linked in so more of convenience | 04:45:34 |
Tristan Ross | Also, a bootstrap archive wouldn't be necessary. | 04:46:19 |
Tristan Ross | Literally just fetchTarball and then use it by using zig cc . | 04:46:40 |
Tristan Ross | Nixpkgs already has Zig stdenv merged in so some of the existing stuff exists. | 04:47:02 |
trofi | Redacted or Malformed Event | 05:17:00 |
Philip Taron (UTC-8) | stdenv folks: https://github.com/NixOS/nixpkgs/pull/330830 is ready for merge, I think. please take a look. | 18:21:47 |