Andrea Bedini
6971a8cf82
I have no idea what I am doing
2023-11-21 17:26:52 +08:00
Andrea Bedini
e5c01022fe
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
67272edf9a
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
b3516bf450
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
790cc43856
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
26b8c0800d
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
095b3cf76e
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
3b322622cb
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
8a9f795fda
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
cd0a3438fd
WIP
2023-11-21 17:26:52 +08:00
Andrea Bedini
959dc3de4b
Don't use need
2023-11-21 17:26:52 +08:00
Andrea Bedini
5f815235f3
small fix to foliage.cabal
2023-11-21 17:26:52 +08:00
Andrea Bedini
43f2644092
Revert some changes in PrepareSdist
2023-11-21 17:26:52 +08:00
Andrea Bedini
08d4fd3444
Merge prepareSource in preparePackageVersion
2023-11-21 17:26:52 +08:00
Andrea Bedini
d34181e3d6
Add fsatrace to devshell
2023-11-21 17:26:52 +08:00
Andrea Bedini
0a342c9318
Fix error in case of metadata/gpd mismatch
2023-11-21 17:26:52 +08:00
Andrea Bedini
caafe3e2cd
Fix re-downloading tarballs
2023-11-21 17:26:52 +08:00
Andrea Bedini
a230b99c9b
Introduce SignOptionsOracle
2023-11-21 17:26:52 +08:00
Andrea Bedini
05550e91f4
Introduce oracles for ExpiryTime and CurrentTime
2023-11-21 17:26:52 +08:00
Andrea Bedini
7c4957e520
Avoid reading the cabal file twice
2023-11-21 17:26:51 +08:00
Andrea Bedini
6f6efd298b
Small refactor
2023-11-21 17:26:51 +08:00
Andrea Bedini
76f8145706
Rework PrepareSdistRule
2023-11-21 17:26:51 +08:00
Andrea Bedini
a7c6794023
Simplify
2023-11-21 17:26:51 +08:00
Andrea Bedini
b5268fb313
Rework PrepareSourceRule
2023-11-21 17:26:51 +08:00
Andrea Bedini
936348be9e
Rework FetchRule
2023-11-21 17:26:51 +08:00
Andrea Bedini
ce926033bd
Introduce CacheDir oracle
2023-11-21 17:26:51 +08:00
Andrea Bedini
7ad51d1558
Introduce InputDir oracle
2023-11-21 17:26:51 +08:00
Andrea Bedini
60e31e3d93
Introduce OutputDir oracle
2023-11-21 17:26:51 +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