Commit graph

80 commits

Author SHA1 Message Date
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
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
ea5d85b4a5 nix: Use upstream treefmt-nix 2022-12-24 06:53:10 -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
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
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
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
3f6ea93e8d Update haskell-flake 2022-10-24 17:36:16 -04:00
Sridhar Ratnakumar
1a75925c51 nix: Update flake-parts 2022-10-09 12:12:21 -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
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
a3b3825576 Update all inputs 2022-09-14 16:47:03 -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
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
github-actions[bot]
582eff12b4
flake.lock: Update (#42)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/608ed3502263d6f4f886d75c48fc2b444a4ab8d8' (2022-07-06)
  → 'github:hercules-ci/flake-parts/850d8a76026127ef02f040fb0dcfdb8b749dd9d9' (2022-08-20)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/65c15b0a26593a77e65e4212d8d9f58d83844f07' (2022-08-13)
  → 'github:nixos/nixpkgs/921b28fa6ed61f6275fdebfec25b630dd1e4f378' (2022-08-19)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-20 21:17:35 -04:00
Sridhar Ratnakumar
8a01584e07 nix: Update treefmt-flake (for nix run .#format) 2022-08-18 15:42:17 -04:00
Sridhar Ratnakumar
134332ccf5
Add treefmt check (#36)
Also add garnix checks.
2022-08-17 14:23:47 -04:00
github-actions[bot]
09928163e0
flake.lock: Update (#34) 2022-08-13 21:03:57 -04:00
Sridhar Ratnakumar
70ab91e434 Update haskell-flake 2022-08-12 11:44:52 -04:00
github-actions[bot]
1aa9e81142
flake.lock: Update (#31) 2022-08-06 20:18:30 -04:00
github-actions[bot]
7cc65c200d
flake.lock: Update (#29) 2022-07-30 20:28:47 -04:00
github-actions[bot]
406e1bd85e
flake.lock: Update (#27)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a174de16edfc6aa0893530b9a95d0bd0c2a952b7' (2022-07-21)
  → 'github:nixos/nixpkgs/52dd719bbd13d9f0974e5c3c29c74aa249e5b091' (2022-07-23)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-23 21:47:30 -04:00
github-actions[bot]
f25abad0cd
flake.lock: Update (#26)
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/6ac93cfc7f0fea4c889a609b18b3333f10091030' (2022-06-04)
  → 'github:hercules-ci/flake-parts/608ed3502263d6f4f886d75c48fc2b444a4ab8d8' (2022-07-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3802c98cffe636d54dc8f2812d143e50b4b07bb0' (2022-06-17)
  → 'github:nixos/nixpkgs/a174de16edfc6aa0893530b9a95d0bd0c2a952b7' (2022-07-21)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-07-21 15:42:41 -04:00
Sridhar Ratnakumar
7063530bfd nix: Update inputs 2022-06-17 18:08:00 -04:00
Sridhar Ratnakumar
ccd03a1fc4 nix: update haskell-flake 2022-05-30 19:07:38 -04:00
Sridhar Ratnakumar
45ee5796a4 Update haskell-flake for better default handling 2022-05-30 18:48:39 -04:00
Sridhar Ratnakumar
4717e35671 Advance haskell-flake to fix 'nix run' 2022-05-30 12:31:26 -04:00
Sridhar Ratnakumar
6936c32c6b Update haskell-flake, to fix overrides 2022-05-30 10:50:56 -04:00
Sridhar Ratnakumar
6267d5f29d nix: Update haskell-flake 2022-05-30 10:37:20 -04:00
Sridhar Ratnakumar
18b6248dce Trim down flake-compat usage (#23) 2022-05-30 09:24:56 -04:00
Sridhar Ratnakumar
1127faaba2
Delegate most Nix to srid/haskell-flake (a flake-parts module for Haskell dev) (#22)
* Move Haskell stuff into separate module

cf. https://github.com/hercules-ci/flake-parts/blob/main/modules/apps.nix

* Parametrize the haskell part

* Allow user to override default attrs

* Add baseBuildTools (so they can be overriden)

* Don't hardcode non-essential build tools

* Avoid types.anything

* Merge into one buildTools, using sets

* getExe and type are redundant

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>

* Use docstring wherever possible

* Use ${self} as default for root

* Allow defining multiple Haskell packages

The downside: the user is forced to define 'default' flake outputs.

* Automatically create 'default' attr if a singleton projects set

* Make haskell.nix its own repo

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-05-30 09:16:38 -04:00
Sridhar Ratnakumar
3fc6858830 nix: Update nixpkgs, and use 'flakeExposed' for systems list 2022-05-27 16:31:08 -04:00
Sridhar Ratnakumar
8ac592271b
flake-utils -> flake-parts (#20) 2022-05-26 07:25:38 -04:00