Skip to content

Commit d828c0b

Browse files
committed
Add ArchX86 and ArchRISCV64
1 parent 79a0606 commit d828c0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/call-cabal-project-to-nix.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ let
342342
echo ',("target arch","${
343343
if pkgs.stdenv.targetPlatform.isx86_64
344344
then "ArchX86_64"
345+
else if pkgs.stdenv.targetPlatform.isx86
346+
then "ArchX86"
347+
else if pkgs.stdenv.targetPlatform.isRiscV64
348+
then "ArchRISCV64"
345349
else if pkgs.stdenv.targetPlatform.isAarch64
346350
then "ArchAArch64"
347351
else if pkgs.stdenv.targetPlatform.isJavaScript

0 commit comments

Comments
 (0)