From 99cce5e3e907ea4e5554440a90c22ad09d4c0ab7 Mon Sep 17 00:00:00 2001 From: Start9 Labs Date: Thu, 10 Nov 2022 15:38:12 -0700 Subject: [PATCH] add cabal build for current fix for m1 devices --- 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.