File tree 2 files changed +9
-23
lines changed
2 files changed +9
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ description: |
23
23
# snap connect shellcheck:removable-media
24
24
25
25
version : git
26
- base : core18
26
+ base : core20
27
27
grade : stable
28
28
confinement : strict
29
29
@@ -40,16 +40,16 @@ parts:
40
40
source : .
41
41
build-packages :
42
42
- cabal-install
43
- - squid
43
+ stage-packages :
44
+ - libatomic1
44
45
override-build : |
45
- # See comments in .snapsquid.conf
46
- [ "$http_proxy" ] && {
47
- squid3 -f .snapsquid.conf
48
- export http_proxy="http://localhost:8888"
49
- sleep 3
50
- }
46
+ # Give ourselves enough memory to build
47
+ dd if=/dev/zero of=/tmp/swap bs=1M count=2000
48
+ mkswap /tmp/swap
49
+ swapon /tmp/swap
50
+
51
51
cabal sandbox init
52
- cabal update || cat /var/log/squid/*
52
+ cabal update
53
53
cabal install -j
54
54
55
55
install -d $SNAPCRAFT_PART_INSTALL/usr/bin
You can’t perform that action at this time.
0 commit comments