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
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
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
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
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
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
3f6ea93e8d
Update haskell-flake
2022-10-24 17:36:16 -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
b0d4644673
Hint at overrides
2022-09-14 16:46:58 -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
Sridhar Ratnakumar
134332ccf5
Add treefmt check ( #36 )
...
Also add garnix checks.
2022-08-17 14:23:47 -04:00
Sridhar Ratnakumar
8edc7cacce
nix: Remove treefmt TODO
...
Don't care much
2022-07-23 10:03:01 -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
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
a2f0e945e0
nix: Use getExe
2022-05-27 15:30:21 -04:00
Sridhar Ratnakumar
8ac592271b
flake-utils
-> flake-parts
(#20 )
2022-05-26 07:25:38 -04:00
Sridhar Ratnakumar
c082385a7f
readme: mention 'nix run'
2022-05-22 14:53:04 -04:00
Sridhar Ratnakumar
37489ca53c
nix: remove Hercules
2022-05-22 14:48:09 -04:00
Sridhar Ratnakumar
f87b1ffccb
nix: Update inputs; tag flake-utils/v1.0.0
2022-05-21 06:49:02 -04:00
Sridhar Ratnakumar
b366d729d2
nix: Parametrize 'project' so withHoogle is used in shell only
2022-05-17 14:53:13 -04:00
Sridhar Ratnakumar
e4da4aef69
nix: Restore optionals behaviour for shellTools
2022-05-17 14:50:18 -04:00
Sridhar Ratnakumar
4a93410b77
Add bin/hoogle
2022-05-17 14:48:03 -04:00
Sridhar Ratnakumar
d65849a193
Use 'overrideCabal', which is much cleaner
2022-05-17 14:46:28 -04:00
Sridhar Ratnakumar
7f9fe62295
treefmt
2022-05-10 06:48:58 -04:00
Sridhar Ratnakumar
4f0f5e528f
Note on eachDefaultSystem
...
https://twitter.com/sridca/status/1523973629393911809
2022-05-10 06:46:17 -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
Davis Davalos-DeLosh
a1940b2d04
Fix development env (VSCode and nix develop)
...
On my machine, the latest refactoring seems to have broken the development environment and I could not access any of the dependencies specified in `shellDeps` or use any of the tools required by VSCode without this fix
2022-04-28 23:24:57 -06:00
Sridhar Ratnakumar
41229a73ed
Requires system
2022-04-27 19:47:58 -04:00
Sridhar Ratnakumar
187657e3e8
Support older Nix?
2022-04-27 19:46:02 -04:00
Sridhar Ratnakumar
5dad24283f
Refactor flake.nix
2022-04-27 18:55:51 -04:00