| 7 Jun 2026 |
matthewcroughan - nix.how | but that initial bootstrap doesn't work at all | 02:18:28 |
Tristan Ross | Weird | 02:32:30 |
dramforever | sysctl vm.mmap_min_addr? | 04:49:18 |
dramforever | don't tell me is that thing again | 04:49:25 |
dramforever | please not be that thing again | 04:49:43 |
matthewcroughan - nix.how | [root@p550:~]# sysctl vm.mmap_min_addr
vm.mmap_min_addr = 65536 | 04:50:05 |
dramforever | gosh darn it | 04:50:20 |
matthewcroughan - nix.how | oh yay git doesn't compile for riscv | 04:50:25 |
dramforever | set it to like 16384 | 04:50:27 |
matthewcroughan - nix.how | it's 65536 on my laptop too | 04:50:38 |
dramforever | risc-v laptop? | 04:50:47 |
matthewcroughan - nix.how | CARGO target/riscv64gc-unknown-linux-gnu/release/libgitcore.a
error: linker `cc` not found
|
= note: No such file or directory (os error 2)
error: could not compile `gitcore` (build script) due to 1 previous error
| 04:51:04 |
matthewcroughan - nix.how | nah, this thing | 04:51:25 |
matthewcroughan - nix.how |  Download image.png | 04:51:27 |
dramforever | i mean this | 04:51:49 |
dramforever | is your laptop risc-v? | 04:51:58 |
matthewcroughan - nix.how | x86 | 04:52:00 |
matthewcroughan - nix.how | gpd pocket 4 | 04:52:05 |
dramforever | go set it to 16384 or 32768 then | 04:52:21 |
dramforever | on the p550 i mean | 04:52:29 |
lorne | might be https://github.com/NixOS/nixpkgs/pull/526197 | 04:52:46 |
matthewcroughan - nix.how | No I mean why is it a problem, if it's the same value as on my x86 laptop? | 04:52:47 |
dramforever | because the numbers are different on binutils for risc-v target vs x86 target | 04:53:41 |
dramforever | full explanation https://github.com/NixOS/nixpkgs/pull/514892#issuecomment-4349540892 | 04:53:52 |
matthewcroughan - nix.how | fun | 04:54:18 |
matthewcroughan - nix.how | should hardware repos set this value for users? :P | 04:54:24 |
matthewcroughan - nix.how | mkDefault maybe | 04:54:27 |
dramforever | idk how to fix this | 04:54:53 |
dramforever | because 65536 is the default on like ubuntu | 04:55:07 |
matthewcroughan - nix.how | the sysctl options on nixos seem like a good idea as a stopgp | 04:55:15 |