Commit graph

198 commits

Author SHA1 Message Date
Sridhar Ratnakumar
89418abd39
Advance nixpkgs, for GHC 9.2 (#79)
* Advance nixpkgs, use GHC 9.2, with workaround

* Update nix inputs

* docs
2023-01-24 13:02:42 -05:00
Sridhar Ratnakumar
4584a37664
flake: enrich overrides example 2023-01-17 11:09:02 -05:00
Sridhar Ratnakumar
9ea398529d
Update ci.yaml 2022-12-24 06:55:44 -05:00
Sridhar Ratnakumar
ea5d85b4a5 nix: Use upstream treefmt-nix 2022-12-24 06:53:10 -05:00
Sridhar Ratnakumar
1efe165ef3
Make Hercules CI succeed (#78)
Remove hlsCheck, sadly.
2022-12-23 20:16:59 -05:00
Sridhar Ratnakumar
ce85733722 Add Hercules CI configuration 2022-12-23 12:45:02 -05:00
Sridhar Ratnakumar
fbd2b65a45 Revert "Update README.md"
This reverts commit 676cd1bfb2.
2022-12-23 12:43:12 -05:00
Sridhar Ratnakumar
676cd1bfb2
Update README.md 2022-12-23 12:38:41 -05:00
Sridhar Ratnakumar
c9c69b1afc nix: Refactor treefmt; use flake-root 2022-12-21 20:31:32 -05:00
Sridhar Ratnakumar
33436a1fde Advance treefmt-nix, again. 2022-12-21 20:27:00 -05:00
Sridhar Ratnakumar
1706660e7b Advance treefmt-nix fork 2022-12-21 16:32:14 -05:00
Sridhar Ratnakumar
e53a65ece6
Revamp treefmt use via flake-parts module (#75)
Get rid of `treefmt.toml` as that is nixified.
2022-12-21 13:09:33 -05:00
Sridhar Ratnakumar
3a30ce4c5a Update mission-control 2022-12-19 11:17:13 -05:00
Sridhar Ratnakumar
b21f59e123
Update flake.lock (#74)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa' (2022-11-14)
  → 'github:hercules-ci/flake-parts/3f7172646953bf86dad5953bc45f0edae62ac445' (2022-12-18)
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/4fc511d93a55fedf815c1647ad146c26d7a2054e' (2022-11-11)
  → 'github:srid/haskell-flake/54334cfae9bbb73732bbb1437260017044f68d0b' (2022-12-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a2d2f70b82ada0eadbcb1df2bca32d841a3c1bf1' (2022-12-04)
  → 'github:nixos/nixpkgs/bb31220cca6d044baa6dc2715b07497a2a7c4bc7' (2022-12-19)

* Fix flake-parts warning

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-19 11:16:12 -05:00
Sridhar Ratnakumar
ee4c430c12 nix: Update mission-control
Add flake-root as dependency. Improve comments.
2022-12-19 09:27:56 -05:00
Sridhar Ratnakumar
fb9634b22b treefmt need not be in shell PATH 2022-12-19 08:58:06 -05:00
Sridhar Ratnakumar
ec7db3ca04
Nixify scripts using mission-control (#72)
https://github.com/Platonic-Systems/mission-control
2022-12-17 12:29:11 -05:00
Sridhar Ratnakumar
61bd08b503
flake.lock: Update (#70)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/79bb815a1cdc789f6b036d2047e217ab3e989fff' (2022-11-21)
  → 'github:nixos/nixpkgs/a2d2f70b82ada0eadbcb1df2bca32d841a3c1bf1' (2022-12-04)
• Updated input 'treefmt-flake':
    'github:srid/treefmt-flake/49306df9084ffbd73102e6002241e1f14812f0fe' (2022-08-18)
  → 'github:srid/treefmt-flake/86341cd4a0ce21556a348fd27a4797997d27be00' (2022-12-01)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-05 19:28:00 -05:00
Sridhar Ratnakumar
3659580cbf
readme: emphasize haskell-flake 2022-11-21 08:59:25 -05:00
Sridhar Ratnakumar
42d2ca2da6
flake.lock: Update (#68)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/0e101dbae756d35a376a5e1faea532608e4a4b9a' (2022-10-27)
  → 'github:hercules-ci/flake-parts/d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa' (2022-11-14)
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/6e9b3045b7eee557a3ba658ad27672f4bf830c80' (2022-11-09)
  → 'github:srid/haskell-flake/4fc511d93a55fedf815c1647ad146c26d7a2054e' (2022-11-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/bbf77421ac51a7c93f5f0f760da99e4dbce614fa' (2022-11-09)
  → 'github:nixos/nixpkgs/79bb815a1cdc789f6b036d2047e217ab3e989fff' (2022-11-21)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-21 08:51:49 -05:00
Sridhar Ratnakumar
c9b9e3e6ff
Use new haskell-flake (multiple projects) (#67) 2022-11-09 15:59:00 -05:00
Sridhar Ratnakumar
d0f2e93165 Remove unnecessary follows 2022-11-05 10:53:07 -04:00
Sridhar Ratnakumar
13267c1ccb
Test 2022-11-03 19:20:57 -04:00
Sridhar Ratnakumar
9617c1d1db
Update flake.lock & reintroduce garnix CI (#66)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/45298bd207b26e1bcd030a0bb075aa2da29f8e30' (2022-09-28)
  → 'github:hercules-ci/flake-parts/0e101dbae756d35a376a5e1faea532608e4a4b9a' (2022-10-27)
• Removed input 'flake-parts/nixpkgs'
• Added input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/e1f757d7c48a81ec53e8a952b0d8304f2315da7e' (2022-10-24)
  → 'github:srid/haskell-flake/2ef06a73fef2856fb5d0f5a8a7a4fef964e0d94f' (2022-10-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0cfb3c002b61807ca0bab3efe514476bdf2e5478' (2022-09-17)
  → 'github:nixos/nixpkgs/f44ba1be526c8da9e79a5759feca2365204003f6' (2022-10-28)

* Run treefmt (new cabal-fmt?)

* Add garnix.yaml to exclude HLS check

* include m1 (via glob(

* include linux too

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-30 19:22:49 -04:00
Sridhar Ratnakumar
ba2bc36045
github: Reintroduce update-flake-lock.yaml
But with cron disabled.
2022-10-29 12:00:00 -04:00
Sridhar Ratnakumar
3f6ea93e8d Update haskell-flake 2022-10-24 17:36:16 -04:00
Sridhar Ratnakumar
6e0ab0ff1b
readme: add library dependency page 2022-10-20 18:50:06 -04:00
Sridhar Ratnakumar
38bd4bdc19
Change year 2022-10-10 21:56:38 -04:00
Sridhar Ratnakumar
1a75925c51 nix: Update flake-parts 2022-10-09 12:12:21 -04:00
Sridhar Ratnakumar
029e2a478f ci: remove hlint check 2022-09-30 14:36:32 -04:00
Sridhar Ratnakumar
f6830f0d08
Obviate check-flake (#61) 2022-09-30 14:34:57 -04:00
Hari Amoor
d66e98108d
Advance haskell-flake for hlint check (#62) 2022-09-30 14:24:09 -04:00
Sridhar Ratnakumar
fd5c483768
Remove until #54 is done 2022-09-30 11:33:00 -04:00
Sridhar Ratnakumar
5f355491b0 Revert "flake.lock: Update (#59)"
This reverts commit efb8914a68.
2022-09-30 11:25:07 -04:00
Sridhar Ratnakumar
efb8914a68
flake.lock: Update (#59)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/89cce5852d100df3d815c3c4a3fd39e55b3e1bfc' (2022-09-13)
  → 'github:hercules-ci/flake-parts/f17e9dba098c0a7bca10029bec5384fd6425c157' (2022-09-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0cfb3c002b61807ca0bab3efe514476bdf2e5478' (2022-09-17)
  → 'github:nixos/nixpkgs/e14f9fb57315f0d4abde222364f19f88c77d2b79' (2022-09-23)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-26 11:46:24 -04:00
Sridhar Ratnakumar
480c569e3b
flake.lock: Update (#57)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/125efbd96af28ea5d60e00a3eed832ea3f49a93b' (2022-09-14)
  → 'github:nixos/nixpkgs/0cfb3c002b61807ca0bab3efe514476bdf2e5478' (2022-09-17)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-17 21:17:44 -04:00
Sridhar Ratnakumar
313bada7c5
readme: mention bin/run 2022-09-15 11:54:34 -04:00
Sridhar Ratnakumar
a3b3825576 Update all inputs 2022-09-14 16:47:03 -04:00
Sridhar Ratnakumar
b0d4644673 Hint at overrides 2022-09-14 16:46:58 -04:00
Sridhar Ratnakumar
dc693ae217 Delegate the bulk of README to srid.ca 2022-09-04 11:25:11 -04:00
Sridhar Ratnakumar
5984ff88c1 Simplify .gitignore 2022-09-03 10:33:32 -04:00
Sridhar Ratnakumar
351f164ba1 hlint: add a custom rule as illustration 2022-09-03 10:27:38 -04:00
Sridhar Ratnakumar
9f145246db hlint: autoformat, and add comment 2022-09-03 10:27:25 -04:00
Sridhar Ratnakumar
f802270734 Remove garnix.yaml (document it instead) 2022-09-03 10:24:13 -04:00
Sridhar Ratnakumar
7ada5d6139
flake.lock: Update (#53)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0e304ff0d9db453a4b230e9386418fd974d5804a' (2022-08-24)
  → 'github:nixos/nixpkgs/21de2b973f9fee595a7a1ac4693efff791245c34' (2022-09-02)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-03 10:24:04 -04:00
Sridhar Ratnakumar
8052faf2bf
Allow update flake lock action to run CI
https://github.com/DeterminateSystems/update-flake-lock#with-a-personal-authentication-token
2022-09-03 10:21:19 -04:00
Sherub Thakur
a439b2b529
Remove redundant dependencies (#51)
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: https://github.com/kowainik/relude/issues/353
2022-09-01 20:24:41 -04:00
Sridhar Ratnakumar
9080aef7fb
Remove tests; just document how to add it (#50) 2022-09-01 20:04:57 -04:00
Sridhar Ratnakumar
5cfb230f15
Add a flake check for HLS (#47)
Also use check-flake for .#check package.

Deal with network access by disabling sandbox, and excluding in garnix.
2022-08-28 18:50:08 -04:00
github-actions[bot]
b003dbdd1a
flake.lock: Update (#45) 2022-08-27 20:23:10 -04:00