| 4 Sep 2023 |
rhelmot | I truthfully don't know a lot about how the particular stdenv gets selected, when I was messing with it I just blindly grepped through and added cases until it worked | 19:27:26 |
ash (it/its) 🏳️⚧️ | interesting | 19:30:58 |
ash (it/its) 🏳️⚧️ | so i suppose for this it would mean creating a bootstrap for wasi | 19:32:34 |
rhelmot | okay okay hang on I can think about this more critically - creating a stdenv for wasi would imply that you had already compiled nix itself for wasi and you wanted to boot nixpkgs under that environment | 19:33:29 |
rhelmot | I have no knowledge about cross compilation... | 19:33:53 |
ash (it/its) 🏳️⚧️ | In reply to@rhelmot:matrix.org okay okay hang on I can think about this more critically - creating a stdenv for wasi would imply that you had already compiled nix itself for wasi and you wanted to boot nixpkgs under that environment well, not necessarily i think? i can native compile aarch64 packages with an x86_64 host if i do boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; i just want to do the same for wasi | 19:36:13 |
rhelmot | yeah - but you're still using your host's stdenv, you've just parameterized it with a compiler for the target system | 19:37:21 |
rhelmot | (I think? grains of salt all around) | 19:37:33 |
ash (it/its) 🏳️⚧️ | then in that case it would be impure, i think. but native compilation is pure that way, so i think it's not like that. | 19:38:15 |
ash (it/its) 🏳️⚧️ | ie i can substitute from a binary cache if i use emulatedSystems, but i can't if i'm cross compiling | 19:39:02 |
rhelmot | ......huh | 19:39:15 |
ash (it/its) 🏳️⚧️ | oh, #stdenv:nixos.org exists. will continue there. | 19:41:54 |
| Ramses 🇵🇸 joined the room. | 22:02:45 |
| 👉@crystallinefire:chat.solarpunk.moe changed their display name from hive hive ⬡ to hive ⬡. | 23:15:41 |
| 7 Sep 2023 |
| @jkachmar:matrix.org changed their profile picture. | 16:01:14 |
| 8 Sep 2023 |
| Alex S joined the room. | 13:07:51 |
| __Sander__ joined the room. | 13:16:04 |
| 11 Sep 2023 |
| @olafklingt:matrix.org left the room. | 19:17:40 |
| 12 Sep 2023 |
rhelmot | [nix-shell:~/proj/nix/nixpkgs]$ which nix
/nix/store/cchfc7cdajg5kbx31x6y6bn8ridqw6k1-nix-2.17.0/bin/nix
[nix-shell:~/proj/nix/nixpkgs]$ uname
FreeBSD
yay
| 17:30:06 |
rhelmot | pr time | 17:30:15 |
trofi | Congrats! | 18:22:22 |
👉@crystallinefire:chat.solarpunk.moe | awesome ! | 18:28:07 |
rhelmot | woo https://github.com/NixOS/nixpkgs/pull/254801 | 18:29:27 |
👉@crystallinefire:chat.solarpunk.moe | ^^ | 18:30:13 |
Alex S | we need NixBSD | 18:31:07 |
rhelmot | that's the goal!!!! | 18:31:18 |
Alex S | NixOS with a freebsd kernel | 18:31:18 |
Alex S |  Download image.png | 18:31:41 |
Alex S | I like your commit messages | 18:31:43 |
rhelmot | thanks. squash and merge will be a friend | 18:31:59 |