Skip to content

Commit

Permalink
Use tar on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Nov 17, 2024
1 parent 4058056 commit 8f5604a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cabal.project.release
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,26 @@ optimization: 2
-- The tar flag is only there to circumvent complicated errors during
-- development, which sometimes happens due to libarchive.
package ghcup
flags: +tui -tar
flags: +tui

if os(linux)
if arch(x86_64) || arch(i386)
flags: -tar
package *
ghc-options: -split-sections -optl-static
elif arch(arm)
flags: +tar
else
flags: -tar
elif os(darwin)
flags: -tar
constraints: zlib +bundled-c-zlib,
xz -system-xz
elif os(mingw32)
flags: -tar
constraints: xz -system-xz
elif os(freebsd)
flags: -tar
constraints: zlib +bundled-c-zlib,
zip +disable-zstd
package *
Expand Down

0 comments on commit 8f5604a

Please sign in to comment.