| 7 Jun 2026 |
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 |
matthewcroughan - nix.how | * the sysctl options on nixos seem like a good idea as a stopgap | 04:55:18 |
dramforever | * | 04:55:23 |
matthewcroughan - nix.how | at leas this way it's still pure in a sense | 04:55:24 |
matthewcroughan - nix.how | * at least this way it's still pure in a sense | 04:55:30 |
dramforever | probably | 04:55:49 |
matthewcroughan - nix.how | better to actually fix it somehow, but setting this as a default on riscv64 until it's fixed would make sense | 04:55:59 |
dramforever | but like | 04:56:02 |
dramforever | this is a kernel config option | 04:56:08 |
dramforever | * | 04:56:16 |
dramforever | so you don't need this stopgap generally if you're using the nixos kernel config | 04:57:00 |
dramforever | so please for the love of whatever don't go about adding this to every riscv64 nixos config you see | 04:57:20 |
matthewcroughan - nix.how | Ah so it's only a problem because of the vendor kernel I'm using probably? | 04:57:40 |
dramforever | CONFIG_DEFAULT_MMAP_MIN_ADDR | 04:57:58 |