summary refs log tree commit diff
path: root/lib/systems/examples.nix
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2020-12-02 11:17:41 -0500
committerGitHub <noreply@github.com>2020-12-02 11:17:41 -0500
commit8e21ce5faeda18a82f84ce4ee812ce3a1a81b399 (patch)
tree62b18c56d1d61e34db23edb8328af1ce50453ef8 /lib/systems/examples.nix
parent68fa053f4697914bb1e7d9118484a39c650fd66b (diff)
parent9918ba2dbaf2d6533baa53330a9ef9c32cfbf8a5 (diff)
downloadnixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar.gz
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar.bz2
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar.lz
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar.xz
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.tar.zst
nixpkgs-8e21ce5faeda18a82f84ce4ee812ce3a1a81b399.zip
Merge pull request #105294 from Ericson2314/platform-config-improvements
Platform config improvements
Diffstat (limited to 'lib/systems/examples.nix')
-rw-r--r--lib/systems/examples.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index 2476c3541b1..16002450f2d 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
 
@@ -110,13 +110,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 = {