Skip to content

Commit

Permalink
Fix OS name for GHC.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Jul 23, 2024
1 parent 08b50a0 commit 639213c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ STYLISH_HASKELL_VERSION := 0.14.5.0
NETWORK := preview

OS := $(shell uname -s | sed 's/Linux/linux/' | sed 's/Darwin/macos/')
GHC_OS := $(shell uname -s | sed 's/Linux/linux/' | sed 's/Darwin/osx/')
ARCH := $(shell uname -m | sed 's/X86/x86_64/' | sed 's/arm64/aarch64/')
NIX_GHC := $(shell echo $(GHC) | sed 's/^\([0-9]\)\.\([0-9]\)\..*/\1\2/')
NIX_SHELL := github:CardanoSolutions/devx\#ghc$(NIX_GHC)-static-minimal-iog
Expand All @@ -15,7 +16,7 @@ VERSION := $(shell cat package.yaml| grep "version:" | sed "s/[^0-9]*\([0-9]\)\(
TAG := $(shell echo $(VERSION) | sed "s/^0$$/nightly/")
CONFIG := $(shell pwd)/config/network/$(NETWORK)
CACHEDIR := ${HOME}/.cache/kupo/${NETWORK}
BUILD_DIR_PATH := dist-newstyle/build/$(ARCH)-$(OS)/ghc-$(GHC)/kupo-$(VERSION)
BUILD_DIR_PATH := dist-newstyle/build/$(ARCH)-$(GHC_OS)/ghc-$(GHC)/kupo-$(VERSION)
BIN_DIR_PATH := $(BUILD_DIR_PATH)/x/kupo/build/kupo

ifeq ($(postgres), true)
Expand Down

0 comments on commit 639213c

Please sign in to comment.