Skip to content

Commit c09b060

Browse files
committed
Use --fallback for building GHC locally, until cache is fixed
1 parent 2c57bb0 commit c09b060

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

scripts/build-installer-unix.sh

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,6 @@
22
set -e
33
source "$(dirname "$0")/utils.sh"
44

5-
6-
7-
########################################################################
8-
9-
echo '~~~ Manual download of GHC .narinfo'
10-
curl -v http://192.168.64.1:8081/xcpjv70n9y8c2gjxgcvy2yrjqjgi5rv1.narinfo
11-
12-
echo '~~~ Manual download of GHC .nar'
13-
curl -vO http://192.168.64.1:8081/nar/0brbiadnn8smrdxpc6m44xh8xj9dl2x0h4f51l1p7qfr0w76144v.nar
14-
15-
echo '~~~ ls -l'
16-
ls -l 0brbiadnn8smrdxpc6m44xh8xj9dl2x0h4f51l1p7qfr0w76144v.nar
17-
18-
echo '~~~ nix nar ls'
19-
nix nar ls 0brbiadnn8smrdxpc6m44xh8xj9dl2x0h4f51l1p7qfr0w76144v.nar /
20-
21-
exit 77
22-
23-
########################################################################
24-
25-
26-
275
# DEPENDENCIES (binaries should be in PATH):
286
# 0. 'git'
297
# 1. 'curl'
@@ -119,7 +97,7 @@ function checkItnCluster() {
11997

12098
# Build/get cardano bridge which is used by make-installer
12199
echo '~~~ Prebuilding cardano bridge'
122-
CARDANO_BRIDGE=$(nix-build --no-out-link -A daedalus-bridge --argstr nodeImplementation cardano)
100+
CARDANO_BRIDGE=$(nix-build --fallback --no-out-link -A daedalus-bridge --argstr nodeImplementation cardano)
123101

124102
pushd installers
125103
echo '~~~ Prebuilding dependencies for cardano-installer, quietly..'

0 commit comments

Comments
 (0)