From d83ea36d93a5ef0ec389f86f59c0d1d67721fdd1 Mon Sep 17 00:00:00 2001 From: Lucy C <12953208+elvece@users.noreply.github.com> Date: Thu, 10 Nov 2022 15:39:49 -0700 Subject: [PATCH] add cabal build for current fix for m1 devices (#129) Co-authored-by: Start9 Labs --- Makefile | 4 ++++ stack.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 782f76e..421c4fb 100644 --- a/Makefile +++ b/Makefile @@ -2,3 +2,7 @@ all: stack build --local-bin-path dist --copy-bins profile: stack build --local-bin-path dist --copy-bins --profile +cabal: + cabal build + # this step is specific for m1 devices ie. aarch64-osx + sudo cp dist-newstyle/build/aarch64-osx/ghc-9.2.5/start9-registry-0.2.1/x/embassy-publish/build/embassy-publish/embassy-publish /usr/local/bin/ diff --git a/stack.yaml b/stack.yaml index 5f00d15..1563350 100644 --- a/stack.yaml +++ b/stack.yaml @@ -17,7 +17,7 @@ # # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml -resolver: nightly-2022-10-27 +resolver: nightly-2022-11-08 # User packages to be built. # Various formats can be used as shown in the example below.