Skip to content

Commit eba0200

Browse files
authored
Allow tests on aarch64-linux, etc. (#234)
1 parent d10a77d commit eba0200

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/common.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ function logHeader {
55
echo -e "\n||| $@"
66
}
77

8-
if [ "$(uname)" == "Darwin" ]; then
9-
SYSTEM=aarch64-darwin
10-
else
11-
SYSTEM=x86_64-linux
12-
fi
8+
SYSTEM=$(nix show-config | grep 'system =' | nix run nixpkgs#gawk '{print $3}')
139

1410
DIR_OF_COMMON_SH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1511
HASKELL_FLAKE=${DIR_OF_COMMON_SH}/..

0 commit comments

Comments
 (0)