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