Merge pull request #186427 from NickCao/hare

harePackages.hare: fix evaluation for riscv
This commit is contained in:
Bobby Rong 2022-08-25 22:31:54 +08:00 committed by GitHub
commit 3d4de2ae3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"