2024-01-24 12:50:41 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
nixpkgs.crossSystem = {
|
|
|
|
system = "riscv64-linux";
|
|
|
|
gcc.arch = "rv64g";
|
|
|
|
gcc.tune = "rv64g";
|
|
|
|
};
|
2024-03-01 18:31:57 +01:00
|
|
|
|
|
|
|
# FIXME: Broken as rustc injects compressed instructions.
|
|
|
|
# For now we disable it.
|
|
|
|
services.nscd.enableNsncd = false;
|
2024-01-24 12:50:41 +01:00
|
|
|
}
|