| 4 Jul 2025 |
dramforever | note that i haven't tested this, just typed it out | 03:15:43 |
dramforever | and the reason it's compiling mimalloc is just something depends on mimalloc | 03:16:04 |
@freexploit:trafkin.com | Redacted or Malformed Event | 03:16:30 |
@freexploit:trafkin.com | Redacted or Malformed Event | 03:17:48 |
dramforever | final.lib.fakeHash | 03:21:20 |
dramforever | or just leave it empty?? | 03:21:35 |
dramforever | * or just leave it empty? | 03:21:36 |
missbehaves | I'm trying to target a specific RISC-V toolchain for cross compilation, which is using arch rv32i and abi ilp32. I was using riscv32-none-elf but sadly it has differences and does not give me the format of binary i need. How do i build and configure the riscv toolchainfor my specific arch/abi ? | 09:53:00 |
missbehaves | I'm new to Nix, and I'm trying to target a specific RISC-V toolchain for cross compilation, which is using arch rv32i and abi ilp32. I was using riscv32-none-elf but sadly it has differences and does not give me the format of binary i need. How do i build and configure the riscv toolchainfor my specific arch/abi ? | 10:03:04 |
Alyssa Ross | You can set gcc.arch and some other options in your platform attrset. | 10:12:45 |
Alyssa Ross | Have a look at machineFlags in pkgs/build-support/cc-wrapper/default.nix for what you can set | 10:14:32 |
dramforever | just demo'd nix to a friend, and i want to thank the entirety of #cross-compiling:nixos.org for maintaining my go to demo for nix and nixpkgs so it mostly works: cross compiling something in a single command | 12:11:01 |
dramforever | * just demo'd nix to a coworker, and i want to thank the entirety of
#cross-compiling:nixos.org for maintaining my go to demo for nix and nixpkgs so it mostly works: cross compiling something in a single command | 12:11:13 |
alexfmpe | depending on what the demo is, might want to add it to one of the release-foo.nix jobs to watch for regressions
though I'm not sure how to actually lookup or be notified of failures there | 12:32:19 |
dramforever | it's a bit of a weird thing since if i add it to release-*, i can't demo it anymore | 14:11:06 |
dramforever | it'll just download from cache.nixos.org and be way less impressive | 14:11:21 |
Grimmauld (any/all) | you could add --rebuild in your demo | 14:13:48 |
dramforever | 😅 | 14:36:44 |
dramforever | yeah probably | 14:43:34 |
@freexploit:trafkin.com | Redacted or Malformed Event | 15:09:11 |
@freexploit:trafkin.com | Redacted or Malformed Event | 15:09:26 |
emily | jemalloc is deprecated upstream now anyway, so it's the better choice | 15:33:59 |
@freexploit:trafkin.com | Redacted or Malformed Event | 15:34:55 |
@freexploit:trafkin.com | Redacted or Malformed Event | 15:35:07 |
@freexploit:trafkin.com | Redacted or Malformed Event | 15:35:12 |
| @winston:milli.ng left the room. | 15:40:53 |
alexfmpe | seems there's also a --offline | 15:46:57 |
alexfmpe | https://nix.dev/manual/nix/2.28/command-ref/new-cli/nix3-build.html?highlight=--rebuild#opt-offline | 15:46:59 |
lzcunt | Hey there | 17:31:52 |
lzcunt | I've asked this question here before but now after rebasing it occurs again | 17:32:35 |