Commit graph

208 commits

Author SHA1 Message Date
ParetoOptimalDev
48db037100
trigger direnv rebuild when *.cabal changes (#89)
fixes #88

See:

https://github.com/nix-community/nix-direnv#tracked-files
2023-02-16 12:06:41 -05:00
Sridhar Ratnakumar
dfad1869ef Simplify the nixpkgs workaround module usea 2023-02-11 17:47:01 -05:00
Sridhar Ratnakumar
1690da6797 Update haskell-flake 2023-02-11 16:11:50 -05:00
Sridhar Ratnakumar
54389ba645
flake.lock: Update (#86)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/82c16f1682cf50c01cb0280b38a1eed202b3fe9f' (2023-01-10)
  → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09)
• Updated input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6?dir=lib' (2022-12-29)
  → 'github:NixOS/nixpkgs/e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e?dir=lib' (2023-01-31)
• Updated input 'mission-control':
    'github:Platonic-Systems/mission-control/9acdaa469ebd3c2d6816f8a30c0c217a0da59fe2' (2022-12-19)
  → 'github:Platonic-Systems/mission-control/feb06872ac4dc977f70f6388c87d36fc3c3c3693' (2023-01-31)
• Removed input 'mission-control/nixpkgs'
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d840126a0890621e7b220894d749132dd4bde6a0' (2023-02-05)
  → 'github:nixos/nixpkgs/6ccc4a59c3f1b56d039d93da52696633e641bc71' (2023-02-09)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/d5ed9a1e6793f99b2e179d5dec9639e48ef22db7' (2023-01-23)
  → 'github:numtide/treefmt-nix/819dd7f076832838bba238eceef9a3dbfc63f5d0' (2023-02-11)
• Added input 'treefmt-nix/nixpkgs':
    'github:nixos/nixpkgs/0591d6b57bfeb55dfeec99a671843337bc2c3323' (2023-02-04)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-02-11 15:23:21 -05:00
Sridhar Ratnakumar
9a272d1d14
really decouple the nixpkgs workaround (#85) 2023-02-11 15:04:27 -05:00
Sridhar Ratnakumar
12ec81a94f
Enable hlint check in treefmt (#83)
And update `haskell-flake`
2023-02-06 17:57:23 -05:00
Sridhar Ratnakumar
48b68856e8 Re-enable hlsCheck 2023-02-05 14:37:24 -05:00
Sridhar Ratnakumar
385155c2e2 Not using Hercules-CI anymore. 2023-02-05 14:32:58 -05:00
Sridhar Ratnakumar
d176ed4159
Simplify nixpkgs workaround (#84)
- Apply that overlay only on macOS
- Make use of the overlay system
- Update nixpkgs and haskell-flake
2023-02-05 14:31:22 -05:00
Sridhar Ratnakumar
385039139c nix: Update inputs
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/c6ff897db9abdd4e5ff7911b5f9234a1380c6611' (2023-01-18)
  → 'github:srid/haskell-flake/8688fb2deaa193795467eedb4d2473dbeaba19b4' (2023-01-23)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/676c80dcc2f0ba780c8ab204f92c5abd69fa1245' (2023-01-19)
  → 'github:nixos/nixpkgs/ef479383e13698c8d5ccf8a608485dc8ce1d4f80' (2023-01-22)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/6717065d6a432bc3f5b827007ad959e6032d5856' (2023-01-05)
  → 'github:numtide/treefmt-nix/d5ed9a1e6793f99b2e179d5dec9639e48ef22db7' (2023-01-23)
2023-01-24 13:04:39 -05:00
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