From 9918ba2dbaf2d6533baa53330a9ef9c32cfbf8a5 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sat, 28 Nov 2020 22:15:10 +0000 Subject: [PATCH] lib/systems/exmaple: `riscv-multiplatform` no longer needs parameter --- lib/systems/examples.nix | 6 +++--- lib/systems/platforms.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 3bbe61ed33a54..12c63c9bd5ed2 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -7,7 +7,7 @@ let riscv = bits: { config = "riscv${bits}-unknown-linux-gnu"; - platform = platforms.riscv-multiplatform bits; + platform = platforms.riscv-multiplatform; }; in @@ -105,13 +105,13 @@ rec { riscv64-embedded = { config = "riscv64-none-elf"; libc = "newlib"; - platform = platforms.riscv-multiplatform "64"; + platform = platforms.riscv-multiplatform; }; riscv32-embedded = { config = "riscv32-none-elf"; libc = "newlib"; - platform = platforms.riscv-multiplatform "32"; + platform = platforms.riscv-multiplatform; }; mmix = { diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix index b3a4f9fc13cbd..6b9e258d4f085 100644 --- a/lib/systems/platforms.nix +++ b/lib/systems/platforms.nix @@ -456,7 +456,7 @@ rec { ## Other ## - riscv-multiplatform = bits: { + riscv-multiplatform = { name = "riscv-multiplatform"; kernelArch = "riscv"; kernelTarget = "vmlinux";