-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
79 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
packages: ./ghcup.cabal | ||
|
||
constraints: http-io-streams -brotli, | ||
any.aeson >= 2.0.1.0, | ||
any.hsc2hs >=0.68.10, | ||
bzlib-conduit >= 0.3.0.3, | ||
bz2 >= 1.0.1.1, | ||
bzlib >= 0.5.2.0, | ||
directory >= 1.3.8.3, | ||
filepath == 1.4.101.0 || == 1.4.300.1 || >= 1.5.2.0, | ||
tar >= 0.6.2.0 | ||
|
||
constraints: text -simdutf | ||
|
||
if os(mingw32) | ||
constraints: zlib +bundled-c-zlib, | ||
text -simdutf, | ||
vty-windows >=0.2.0.2 | ||
|
||
if impl(ghc >= 9.4) | ||
constraints: language-c >= 0.9.3 | ||
|
||
|
||
source-repository-package | ||
type: git | ||
location: https://github.com/hasufell/uri-bytestring.git | ||
tag: 4fb5ed14b500c192e6e7a97f6b2b1eb478806001 | ||
|
||
package libarchive | ||
flags: -system-libarchive | ||
|
||
package aeson-pretty | ||
flags: +lib-only | ||
|
||
package aeson | ||
flags: +ordered-keymap | ||
|
||
package hashable | ||
flags: -arch-native |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
import: cabal.project | ||
import: cabal.project.common | ||
|
||
optimization: 2 | ||
|
||
-- The release project file always wants to build with -tar. | ||
-- 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) | ||
constraints: xz -system-xz | ||
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, | ||
lzma +static | ||
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 | ||
zip +disable-zstd, | ||
xz -system-xz | ||
package * | ||
ghc-options: -split-sections |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters