Commit graph

91 commits

Author SHA1 Message Date
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
Sridhar Ratnakumar
f7950223ff Update nixpkgs, etc. 2022-01-13 18:19:49 -05:00
Sridhar Ratnakumar
eecb3fa483 Advance nixpkgs, and other inputs 2022-01-08 11:39:25 -05:00
Sridhar Ratnakumar
a0672b6bc6 Advance nixpkgs 2021-12-05 15:47:08 -05:00
Sridhar Ratnakumar
c5d504067c Advance nixpkgs, and add M1 Mac 2021-11-29 12:53:23 -05:00
Sridhar Ratnakumar
1addaad5a6 Update nixpkgs 2021-11-21 17:27:15 -05:00
Sridhar Ratnakumar
d9558225aa Update flake inputs, including nixpkgs 2021-10-07 11:20:51 -04:00
Sridhar Ratnakumar
0004e58d30 Advance nixpkgs 2021-09-25 11:45:19 -04:00
Sridhar Ratnakumar
2121591a8e Run 'nix flake update' 2021-08-04 10:33:51 -04:00
Sridhar Ratnakumar
7ae116cf34 init 2021-05-31 19:21:58 -04:00