Commit graph

228 commits

Author SHA1 Message Date
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
13267c1ccb
Test 2022-11-03 19:20:57 -04: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
ba2bc36045
github: Reintroduce update-flake-lock.yaml
But with cron disabled.
2022-10-29 12:00:00 -04:00
Sridhar Ratnakumar
3f6ea93e8d Update haskell-flake 2022-10-24 17:36:16 -04:00
Sridhar Ratnakumar
6e0ab0ff1b
readme: add library dependency page 2022-10-20 18:50:06 -04:00
Sridhar Ratnakumar
38bd4bdc19
Change year 2022-10-10 21:56:38 -04:00
Sridhar Ratnakumar
1a75925c51 nix: Update flake-parts 2022-10-09 12:12:21 -04:00
Sridhar Ratnakumar
029e2a478f ci: remove hlint check 2022-09-30 14:36:32 -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
fd5c483768
Remove until #54 is done 2022-09-30 11:33:00 -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
313bada7c5
readme: mention bin/run 2022-09-15 11:54:34 -04:00
Sridhar Ratnakumar
a3b3825576 Update all inputs 2022-09-14 16:47:03 -04:00
Sridhar Ratnakumar
b0d4644673 Hint at overrides 2022-09-14 16:46:58 -04:00
Sridhar Ratnakumar
dc693ae217 Delegate the bulk of README to srid.ca 2022-09-04 11:25:11 -04:00
Sridhar Ratnakumar
5984ff88c1 Simplify .gitignore 2022-09-03 10:33:32 -04:00
Sridhar Ratnakumar
351f164ba1 hlint: add a custom rule as illustration 2022-09-03 10:27:38 -04:00
Sridhar Ratnakumar
9f145246db hlint: autoformat, and add comment 2022-09-03 10:27:25 -04:00
Sridhar Ratnakumar
f802270734 Remove garnix.yaml (document it instead) 2022-09-03 10:24:13 -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
8052faf2bf
Allow update flake lock action to run CI
https://github.com/DeterminateSystems/update-flake-lock#with-a-personal-authentication-token
2022-09-03 10:21:19 -04:00
Sherub Thakur
a439b2b529
Remove redundant dependencies (#51)
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: https://github.com/kowainik/relude/issues/353
2022-09-01 20:24:41 -04:00
Sridhar Ratnakumar
9080aef7fb
Remove tests; just document how to add it (#50) 2022-09-01 20:04:57 -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
c580715c6d
readme: link to Discussions 2022-08-19 19:48:37 -04:00
Sridhar Ratnakumar
8a01584e07 nix: Update treefmt-flake (for nix run .#format) 2022-08-18 15:42:17 -04:00
Sridhar Ratnakumar
85f9b3e17b Add hie.yaml, to specify stanza for src/*
Fixes #37
2022-08-18 11:21:18 -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
Sridhar Ratnakumar
71aea50f8e vscode: may need pure nix-shell 2022-08-09 18:51:09 -04:00
Sridhar Ratnakumar
2340afbdfa bin/hoogle: use nix develop 2022-08-08 11:46:04 -04:00
Sridhar Ratnakumar
ce7fa306e5 Ignore environment in nix shell 2022-08-08 11:30:16 -04:00
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