github-actions[bot]
2d7d9ed360
flake.lock: Update ( #94 )
...
Flake lock file updates:
• Updated input 'flake-utils':
'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26?narHash=sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA%3D' (2024-01-15)
→ 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
• Updated input 'haskell-nix':
'github:input-output-hk/haskell.nix/dd0a035c1de8708212d2a477c3426c775f8c118f?narHash=sha256-63wDOld7PF2oTmcNbIOoa5e5/uqaoTFMgfctq3Q6GDw%3D' (2024-01-16)
→ 'github:input-output-hk/haskell.nix/5297ad9e688b8a6d1ae0e8297f5502bccb5511a5?narHash=sha256-vMdZsBgB73ae7fGAQJ5FOx/rC6v5GWpEGj8Y1rsPeJ8%3D' (2024-05-04)
• Added input 'haskell-nix/ghc910X':
'git+https://gitlab.haskell.org/ghc/ghc?ref=ghc-9.10&rev=26b6c7fdaf0ac6c5c68d76922c2339d0cfec6c6e&submodules=1 ' (2024-04-15)
• Added input 'haskell-nix/ghc911':
'git+https://gitlab.haskell.org/ghc/ghc?ref=refs/heads/master&rev=3fff09779d5830549ae455a15907b7bb9fe7859a&submodules=1 ' (2024-04-23)
• Removed input 'haskell-nix/ghc98X'
• Removed input 'haskell-nix/ghc99'
• Updated input 'haskell-nix/hackage':
'github:input-output-hk/hackage.nix/ba18979d9c6daf12cb34ad4a5e6e03dd9cc635bd?narHash=sha256-buraKVhWjyoM33EiL/c0aocuABZ%2B7zR4tk%2BQZeJHmX0%3D' (2024-01-16)
→ 'github:input-output-hk/hackage.nix/d876911c2af96fece27d728105c924a18a75c2a7?narHash=sha256-ajcjX3GE88spXjFDq%2BJxC0/DHuHTejZLdrL0POsQ24k%3D' (2024-05-04)
• Added input 'haskell-nix/hls-2.7':
'github:haskell/haskell-language-server/50322b0a4aefb27adc5ec42f5055aaa8f8e38001?narHash=sha256-LfJ%2BTBcBFq/XKoiNI7pc4VoHg4WmuzsFxYJ3Fu%2BJf%2BM%3D' (2024-02-26)
• Updated input 'haskell-nix/iserv-proxy':
'git+https://gitlab.haskell.org/hamishmack/iserv-proxy.git?ref=hkm/remote-iserv&rev=43a979272d9addc29fbffc2e8542c5d96e993d73 ' (2023-08-10)
→ 'github:stable-haskell/iserv-proxy/2f2a318fd8837f8063a0d91f329aeae29055fba9?narHash=sha256-Rv%2BPajrnuJ6AeyhtqzMN%2BbcR8z9%2BaEnrUass%2BN951CQ%3D' (2024-02-25)
• Updated input 'haskell-nix/stackage':
'github:input-output-hk/stackage.nix/3801e5d646d276073c4bd618c8d6a136afe87759?narHash=sha256-lORuVSwOPc0/OZlN4bTGbRQ2qb2VrTxM0XjyqaTkiTU%3D' (2024-01-16)
→ 'github:input-output-hk/stackage.nix/8869b1bdae290bce8c496aaba4e4083a3be2dc0b?narHash=sha256-6YWH%2BAMeOCRwT8iuQsmdj0hI5U1UpQC/vCrA%2BOycLrU%3D' (2024-05-04)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-06 14:27:30 +08:00
Daniel Firth
2e00f04ec5
Bump to base16 1.0, aeson 2.2, compatibiliity with GHC9.8 ( #87 )
...
* compatibility with base16 > 1 and ghc 9.8
* bump to aeson-2.2
2024-04-04 17:58:05 +08:00
Andrea Bedini
04cd67dff3
Update README.md ( #97 )
...
Improve formatting of the notes in README.md
Close #93
2024-03-19 13:43:06 +08:00
Michael Peyton Jones
197ea64f95
Merge pull request #95 from input-output-hk/andrea/update-flake
...
Update flake
2024-01-16 09:19:04 +00:00
Andrea Bedini
cb6d627cbc
Update flake
...
- Bump flake.lock
- Re-enable aarch64-linux
- Include more programs in foliage's path
- Don't override haskell.nix's flake apps and packages entirely
- Remove hackage.nix input workaround (nix lets you update a transitive input)
2024-01-16 16:42:38 +08:00
Andrea Bedini
677fb75ee5
Refresh workflows ( #96 )
...
- Bump actions
- Factor out repetitions
2024-01-16 16:31:20 +08:00
Michael Peyton Jones
acecf00811
Merge pull request #90 from input-output-hk/update_flake_lock_action
...
Update flake.lock
2023-11-20 16:53:28 +00:00
Michael Peyton Jones
137f337e4a
Merge pull request #91 from cabalism/typo/choose
...
Typo, replace "one che use" with choose
2023-11-20 16:53:04 +00:00
Michael Peyton Jones
4899c42387
Merge pull request #92 from cabalism/typo/recommended
...
Typo recommended
2023-11-20 16:52:40 +00:00
Phil de Joux
00dbed97eb
Typo recommended
2023-11-19 14:06:55 -05:00
Phil de Joux
20c306ff7e
Typo, replace "one che use" with choose
2023-11-19 14:04:16 -05:00
github-actions[bot]
5267265bfa
flake.lock: Update
...
Flake lock file updates:
• Updated input 'hackage-nix':
'github:input-output-hk/hackage.nix/22ab6ca22da8ad7e8fb1318549c63e92ef6b0c2e' (2023-11-04)
→ 'github:input-output-hk/hackage.nix/6e756c20a4537db56d9bcb3e4936dae912381da1' (2023-11-19)
• Updated input 'haskell-nix':
'github:input-output-hk/haskell.nix/0ad13ce1afd48351822d713385bb0f8a742703a0' (2023-11-04)
→ 'github:input-output-hk/haskell.nix/da8693b6f8da82f2516778d646880779ff3fef91' (2023-11-18)
• Updated input 'haskell-nix/stackage':
'github:input-output-hk/stackage.nix/b2713dcef4034be8b297df48a36451c9217ca534' (2023-11-04)
→ 'github:input-output-hk/stackage.nix/df04fc0233b8ca688fade91c9c48ad746d6986fd' (2023-11-18)
2023-11-19 00:25:48 +00:00
Michael Peyton Jones
7aa5ca927b
Merge pull request #84 from input-output-hk/update_flake_lock_action
...
Update flake.lock
2023-11-08 17:37:41 +00:00
github-actions[bot]
82eb3415f9
flake.lock: Update
...
Flake lock file updates:
• Updated input 'hackage-nix':
'github:input-output-hk/hackage.nix/fe2ea45b10e70de695c00ca83986760e6dcd6948' (2023-09-14)
→ 'github:input-output-hk/hackage.nix/22ab6ca22da8ad7e8fb1318549c63e92ef6b0c2e' (2023-11-04)
• Updated input 'haskell-nix':
'github:input-output-hk/haskell.nix/8a9dfba4f51e0b3d0b426a1ae787926821993ec6' (2023-09-14)
→ 'github:input-output-hk/haskell.nix/0ad13ce1afd48351822d713385bb0f8a742703a0' (2023-11-04)
• Removed input 'haskell-nix/ghc980'
• Added input 'haskell-nix/ghc98X':
'git+https://gitlab.haskell.org/ghc/ghc?ref=ghc-9.8&rev=443e870d977b1ab6fc05f47a9a17bc49296adbd6 ' (2023-10-07)
• Updated input 'haskell-nix/ghc99':
'git+https://gitlab.haskell.org/hamishmack/ghc?ref=hkm/bump-Cabal&rev=b2bddd0b8214ac1db6239cc25f7c0aabeb2ebb70 ' (2023-09-06)
→ 'git+https://gitlab.haskell.org/ghc/ghc?ref=refs/heads/master&rev=f383a242c76f90bcca8a4d7ee001dcb49c172a9a ' (2023-10-11)
• Added input 'haskell-nix/hls-2.3':
'github:haskell/haskell-language-server/458ccdb55c9ea22cd5d13ec3051aaefb295321be' (2023-09-28)
• Added input 'haskell-nix/hls-2.4':
'github:haskell/haskell-language-server/362fdd1293efb4b82410b676ab1273479f6d17ee' (2023-10-10)
• Updated input 'haskell-nix/nixpkgs-2305':
'github:NixOS/nixpkgs/b81af66deb21f73a70c67e5ea189568af53b1e8c' (2023-07-30)
→ 'github:NixOS/nixpkgs/715d72e967ec1dd5ecc71290ee072bcaf5181ed6' (2023-09-22)
• Updated input 'haskell-nix/nixpkgs-unstable':
'github:NixOS/nixpkgs/3acb5c4264c490e7714d503c7166a3fde0c51324' (2023-07-30)
→ 'github:NixOS/nixpkgs/e12483116b3b51a185a33a272bf351e357ba9a99' (2023-09-21)
• Updated input 'haskell-nix/stackage':
'github:input-output-hk/stackage.nix/a59f88d7837f0c537efc7de53dad276e3d9da4ba' (2023-09-14)
→ 'github:input-output-hk/stackage.nix/b2713dcef4034be8b297df48a36451c9217ca534' (2023-11-04)
2023-11-05 00:24:39 +00:00
Michael Peyton Jones
fe9187f563
Merge pull request #86 from input-output-hk/andrea/show-error
...
Let curl show errors when something fails
2023-10-13 09:53:28 +01:00
Andrea Bedini
b8d863daab
Let curl show errors when something fails
2023-10-13 13:18:50 +08:00
Andrea Bedini
cbd0c5da8f
Minimal test suite ( #81 )
...
* Minimal test suite
- Add support for urls with file: schema; both absolute (file:/path) and
relative (file:path) paths are supported.
- Log curl invocation in case of failure
- Rename fetchRemoteAsset to fetchURL
- Add verbosity flag
- Bump GHC to 9.4.7
- Bump flake inputs
* Apply suggestions from code review
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
* Add short option '-v' for '--verbosity'
* Whitespace
* Add comment explaining why the dot
* Rename withFixture to inTemporaryDirectoryWithFixture
* Small refactor of PrepareSource
* Rename TarballSource to URISource
- Move sourceUrl to Foliage.Meta.packageVersionSourceToUri
* Simplify inTemporaryDirectoryWithFixture
* Document tar and cp flags
* Reformat
---------
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-15 12:18:30 +08:00
Andrea Bedini
1c06741cc8
Reorganise GH workflows
2023-09-14 15:53:59 +08:00
Andrea Bedini
c11fe72425
Add fourmolu to the nix devshell
...
Use that in the CI
2023-09-14 15:53:59 +08:00
Andrea Bedini
cc610620d6
Formatting with fourmolu
2023-09-14 15:53:59 +08:00
Michael Peyton Jones
b18d165702
Merge pull request #83 from input-output-hk/andrea/fix-flake-utils
...
Fix flake-utils input and flake lock bump
2023-09-13 11:14:44 +01:00
Andrea Bedini
870efd8f73
Flake lock bump
2023-09-13 15:11:59 +08:00
Andrea Bedini
9388975cb6
Use flake-utils from numtide
2023-09-13 15:11:45 +08:00
Andrea Bedini
ea683454f9
Disable aarch64-linux because Hydra
2023-09-11 13:18:05 +08:00
Andrea Bedini
e6de3b29bc
Retry few times if curl fails
2023-09-11 13:18:05 +08:00
Andrea Bedini
d265965889
Bump workflows/nix.yml a bit
2023-09-11 13:18:05 +08:00
Andrea Bedini
bae0096f26
Improve some instances of Show
2023-09-11 13:18:05 +08:00
Andrea Bedini
c1d2b0e0b2
Update flake config
2023-09-11 13:18:05 +08:00
Andrea Bedini
637b266700
Handle curl failure
2023-09-11 13:18:05 +08:00
Andrea Bedini
31d2455f44
Make curl fail on HTTP code >=400
2023-09-11 13:18:05 +08:00
Yvan Sraka
1a307b9f44
Delete release.yml
2023-08-08 13:50:54 +08:00
Yvan Sraka
d80b52de22
Merge pull request #74 from input-output-hk/yvan-sraka-patch-1-1
...
Use `DeterminateSystems/magic-nix-cache-action`
2023-07-28 11:21:50 +02:00
Yvan Sraka
e598d3b6f6
Update nix.yml
2023-07-25 16:35:35 +02:00
Andrea Bedini
68a0109a09
Merge pull request #72 from bgamari/wip/T71
2023-07-03 19:38:08 +08:00
Ben Gamari
7b86fadffd
flake: Wrap foliage executable with needed dependencies
...
Previously the `app` outputs of the flake were not usable in a minimal
environment as `foliage` requires `curl` and `patch` in `PATH`. Ensure
that these are available.
Fixes #71 .
2023-06-30 12:47:53 -04:00
Andrea Bedini
763e77028c
Merge pull request #70 from input-output-hk/yvan-sraka-patch-1
...
Add macOS artifacts to GitHub releases
2023-06-22 16:04:13 +08:00
Yvan Sraka
317cabf8e0
Update release.yml
2023-06-20 11:57:17 +02:00
Yvan Sraka
d68add56b4
Add macOS artifacts to GitHub releases
...
This fix https://github.com/input-output-hk/foliage/issues/62 but require https://github.com/input-output-hk/foliage/issues/47 to be addressed first!
2023-06-18 12:43:17 +02:00
Andrea Bedini
f25603f3c6
Merge pull request #69 from bgamari/main
2023-06-16 08:20:01 +08:00
Ben Gamari
1cc2db12ac
foliage: Force FileInfo
...
Unfortunately hackage-security constructs these using lazy bytestrings
and they are therefore liable to hold open fds longer than necessary,
resulting in fd exhaustion.
Fixes another manifestation of #35 .
2023-06-15 11:16:59 -04:00
Andrea Bedini
a938062863
Merge pull request #68 from input-output-hk/yvan-sraka-patch-1
...
Update `release.yml`
2023-06-09 12:43:38 +08:00
Yvan Sraka
48856e3ce0
Update release.yml
...
This is tested and working … but only for `x86_64-linux`, `flake.nix` should be updated to support other platforms :)
2023-06-08 14:32:16 +02:00
Andrea Bedini
8a549d6b9f
Merge pull request #67 from input-output-hk/yvan-sraka-patch-1
...
Update `release.yml`
2023-06-06 21:38:05 +08:00
Yvan Sraka
eb060cd480
Update release.yml
2023-06-06 14:05:42 +02:00
Andrea Bedini
7474ed7e4c
Merge pull request #66 from amesgen/fix-deprecations
...
Fix `preferred-versions` format
2023-06-06 10:00:30 +08:00
amesgen
9833056b60
Fix preferred-versions
format
...
Co-authored-by: Andrea Bedini <andrea@andreabedini.com>
2023-06-05 14:49:55 +02:00
Andrea Bedini
0f408ad7bc
Update release.yml
2023-06-05 20:33:26 +08:00
Andrea Bedini
e36b704aa8
Update release.yml
2023-06-05 20:31:20 +08:00
Andrea Bedini
7855aaa238
Merge pull request #64 from input-output-hk/62-build-foliage-binaries
2023-06-04 14:25:14 +08:00
Andrea Bedini
4a11e81c9c
Merge pull request #65 from input-output-hk/andrea/fix-dependencies-again
2023-06-01 07:10:56 +08:00