Commit graph

59 commits

Author SHA1 Message Date
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
Sridhar Ratnakumar
f87b1ffccb nix: Update inputs; tag flake-utils/v1.0.0 2022-05-21 06:49:02 -04:00
Sridhar Ratnakumar
ac77f14557 nix: No need to pin the hash; git branch HEAD provides it 2022-05-06 20:27:41 -04:00
Sridhar Ratnakumar
cc3b72eb5b Advance nixpkgs 2022-05-04 16:25:42 -04:00
Sridhar Ratnakumar
2fbd9dbe57 Switch to treefmt; resolves #283 2022-05-04 16:24:34 -04:00
Sridhar Ratnakumar
a5f4a75de1 Update nixpkgs 2022-04-27 15:02:18 -04:00
Sridhar Ratnakumar
b14123cb05 Update lint-utils 2022-04-20 13:29:08 -04:00
Sridhar Ratnakumar
c1234a48cb Advance nixpkgs to restore m1 mac support 2022-04-09 11:45:55 -04:00
Sridhar Ratnakumar
eb02d7a704 Update lint-utils, for cli fix 2022-04-07 18:37:06 -04:00
Sridhar Ratnakumar
761fbc1138 Update lint-spec; and run hlint 2022-04-07 18:33:54 -04:00
Sridhar Ratnakumar
d4f809d1a6 GHC 9 2022-04-06 17:43:03 -04:00
Sridhar Ratnakumar
0f37d0ef05 Switch to declarative linters
Resolves #8
2022-03-30 15:12:35 -04:00
Sridhar Ratnakumar
3a330068f1 Update lint-utils to master, and fix checks 2022-03-26 11:59:19 -04:00
Sridhar Ratnakumar
e4babff826 Update nixpkgs 2022-03-25 14:27:56 -04:00
Sridhar Ratnakumar
03ad41b801 Update lint-utils; and add flake checks 2022-03-25 14:18:42 -04:00
Sridhar Ratnakumar
50e04b3658 Replace bin/format with lint-utils 2022-03-25 14:09:08 -04:00
Sridhar Ratnakumar
69564d969a Advance nixpkgs 2022-03-23 13:52:08 -04:00
Sridhar Ratnakumar
881ad2913c Use legacyPackages; and update nixpkgs 2022-03-17 10:16:54 -04:00
Sridhar Ratnakumar
1cc66ac752 Advance nixpkgs, and remove macos workaround 2022-02-20 19:19:39 -05:00
Sridhar Ratnakumar
2abdeedb72 Update nixpkgs 2022-02-03 19:01:54 -05:00
Sridhar Ratnakumar
9d8a4ddd2a Use eachDefaultSystem 2022-01-30 12:05:58 -05:00
Sridhar Ratnakumar
5a6d57f61d Update nixpkgs 2022-01-16 19:10:56 -05:00