Sridhar Ratnakumar
947153ae4a
Remove Serokell flake link
2022-08-08 11:29:55 -04:00
EvanPiro
df6efcff60
bin/test
: run test, and reload on library change (#32 )
...
* test script now runs on test file update
* added src to cabal tests to get auto reload
* fixed formatting
* removed unneeded test dependency
* fixed cabal formatting issue
* Remove library stanza; no longer needed
* hs-source-dirs belongs to shared
Because we are sharing 'src'
* Fix compilation
* Move other-modules as well.
Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-08-08 11:02:43 -04:00
github-actions[bot]
1aa9e81142
flake.lock: Update ( #31 )
2022-08-06 20:18:30 -04:00
EvanPiro
c78eaf81c4
Add Test Suite and Library ( #30 )
...
* added library and test scaffoding
* Add bin/test
* Update comments
Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-08-06 18:45:22 -04:00
github-actions[bot]
7cc65c200d
flake.lock: Update ( #29 )
2022-07-30 20:28:47 -04:00
Sridhar Ratnakumar
66ddecb166
Add info about WSL in README
2022-07-27 15:14:06 -04:00
Sridhar Ratnakumar
6fc5f77e32
CI: build for M1 mac ( #28 )
...
* Add garnix.yaml
* enable M1 shell
2022-07-24 11:10:07 -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
Sridhar Ratnakumar
8edc7cacce
nix: Remove treefmt TODO
...
Don't care much
2022-07-23 10:03:01 -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
534e102d6d
Periodically update flake.lock
( #25 )
2022-07-21 15:38:43 -04:00
Sridhar Ratnakumar
7c21b22972
vscode: add manageHLS (set to PATH)
2022-06-28 17:11:14 -04:00
Sridhar Ratnakumar
eccfe28a59
Update README.md
2022-06-19 15:18:51 -04:00
Sridhar Ratnakumar
57b31188f4
Simplify shell.nix using builtins.getFlake
...
Inspired by: 27322b4d38
2022-06-17 18:08:17 -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
6c9e2eb087
hie.yaml is redundant; HLS works without it
2022-05-30 09:25:48 -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
0866cd1c25
readme: remove haskell.nix (bloated)
2022-05-22 14:52:50 -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
1f8760d9c9
treefmt: add cabal-fmt
2022-05-08 18:39:45 -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
14c8d41a6a
Merge pull request #17 from srid/hlint
...
Add hlint (relude)
2022-05-04 17:21:05 -04:00
Sridhar Ratnakumar
0331adae40
Undo Haskell change
2022-05-04 17:09:21 -04:00
Sridhar Ratnakumar
480677ec23
ci: Update install-nix-action
2022-05-04 17:09:06 -04:00
Sridhar Ratnakumar
576b380515
ci: check hlint
2022-05-04 17:06:33 -04:00
Sridhar Ratnakumar
1c2e20f2b7
Test hlint
2022-05-04 17:06:03 -04:00
Sridhar Ratnakumar
2c391ff0ca
Add relude's hlint yaml
2022-05-04 17:05:56 -04:00
Sridhar Ratnakumar
bed151d25c
Fix treefmt CI
2022-05-04 16:28:57 -04:00
Sridhar Ratnakumar
5a7664418c
Update README to state treefmt
2022-05-04 16:28:54 -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
c94f12580f
Merge pull request #10 from Programmerino/patch-1
...
Fix development env (VSCode and nix develop)
2022-04-29 12:29:45 -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