From 3133c979f9a432af01679a277c6b042309f3def0 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sat, 13 Aug 2022 19:44:47 +0800 Subject: [PATCH] harePackages.hare: fix evaluation for riscv --- pkgs/development/compilers/hare/hare/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/hare/hare/default.nix b/pkgs/development/compilers/hare/hare/default.nix index 9411f4e4e9058..2c6b8da6e3427 100644 --- a/pkgs/development/compilers/hare/hare/default.nix +++ b/pkgs/development/compilers/hare/hare/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: { arch = if stdenv.isx86_64 then "x86_64" else if stdenv.isAarch64 then "aarch64" - else if stdenv.isRiscV64 then "riscv64" + else if stdenv.hostPlatform.isRiscV && stdenv.is64bit then "riscv64" else "unsupported"; platform = if stdenv.isLinux then "linux"