Commit Graph

360 Commits

Author SHA1 Message Date
Sridhar Ratnakumar
1f801ee0bf docs: Add devShell guide
Resolves #135
2023-04-20 10:29:09 -04:00
Sridhar Ratnakumar
3b27991369 docs: autoWire must be disbaled for package sets 2023-04-20 10:28:55 -04:00
Sridhar Ratnakumar
565a10d1cb refactor: Put option types under ./nix/types 2023-04-19 15:15:39 -04:00
Sridhar Ratnakumar
d9ce6a32f0 Fix statix warnings 2023-04-19 15:13:08 -04:00
Shivaraj B H
4e8e79b9b4
Expose cabal executables as flake apps (#137)
Also,

Add a corresponding `outputs.apps` option, while the `outputs.localPackages` option is renamed to `outputs.packages` (it now contains package metadata, including packages and its executables).
2023-04-19 15:00:22 -04:00
Sridhar Ratnakumar
fe3d657ffc
docs: typo 2023-04-16 09:41:12 -04:00
Sridhar Ratnakumar
8fb3bbe77c
Change autoWire to be an enum type (#143) 2023-04-12 18:22:28 -04:00
Sridhar Ratnakumar
de35e3189e
docs/examples: add nammayatri & hackage-server 2023-04-11 09:10:58 -04:00
Sridhar Ratnakumar
c74e7c5967
Add outputs.checks (#138) 2023-04-08 10:17:39 -04:00
Sridhar Ratnakumar
bae56fa984
readme: point to nix-dev-home 2023-04-05 14:34:09 -04:00
Sridhar Ratnakumar
2fde5d0cab
Add autoWire option, to control flake outputs (#134)
* Add autoWire option, to control flake outputs

* add changelog
2023-03-30 16:53:07 -04:00
Sridhar Ratnakumar
65c166728f
docs: Mention tweag's blog post quoting Eelco's thesis 2023-03-27 09:24:42 -04:00
Shivaraj B H
d63943b612
[Docs] mission-control (#129)
* doc: mission-control

* doc/mission-control: edit description

* docs/mission-control: can't use # as a wrapperName
2023-03-24 16:35:26 -04:00
Sridhar Ratnakumar
a26aefdd56 doc: mention SYSTEM_CERTIFICATE_PATH for docker image 2023-03-20 11:45:05 -04:00
Sridhar Ratnakumar
4b7cbf5c58
docs: nixos-flake ad 2023-03-19 17:02:14 -04:00
Sridhar Ratnakumar
0d4d6c0069 doc: recommend direnv from install page 2023-03-19 16:06:52 -04:00
Sridhar Ratnakumar
a0a9c15a09
add Jenkins configuration (#128) 2023-03-19 12:15:32 -04:00
Sridhar Ratnakumar
8c295dd7d8
docs: be less incorrect 2023-03-17 11:07:10 -04:00
Sridhar Ratnakumar
fb6d6700dd
docs: note about rosetta install on mac 2023-03-17 10:08:32 -04:00
Sridhar Ratnakumar
65068a5292 doc: Add edit URL to pages 2023-03-14 16:00:47 -04:00
Sridhar Ratnakumar
7fec317508
Merge pull request #127 from srid/project-module-test
Add test for verifying default project modules
2023-03-14 15:58:22 -04:00
Sridhar Ratnakumar
c8cdbba538 Add readme for test/ 2023-03-14 14:10:19 -04:00
Sridhar Ratnakumar
4a6d06a767 Add test for project module defaults 2023-03-14 14:10:15 -04:00
Sridhar Ratnakumar
6256c9f4c0 Remove unused file 2023-03-14 14:01:29 -04:00
Sridhar Ratnakumar
5f1f2be1a8
Merge pull request #126 from srid/more-tests
Add test for `hpack` support
2023-03-14 14:00:32 -04:00
Sridhar Ratnakumar
c26dc57a41 Factor out --override-input in one place 2023-03-14 13:57:58 -04:00
Sridhar Ratnakumar
70359f1652 Add test for hpack support 2023-03-14 13:51:59 -04:00
Sridhar Ratnakumar
b47c95681b
test: Install Nix as a CI step (#125) 2023-03-14 11:48:08 -04:00
Sridhar Ratnakumar
66decaba0c Add emanote run command to docs script 2023-03-14 11:21:11 -04:00
Sridhar Ratnakumar
d289c6f7f3 doc: Add examples 2023-03-14 11:16:50 -04:00
Sridhar Ratnakumar
fda7cb7a76
Add treefmt doc (#124)
Co-authored-by: sbh69840 <sbh69840@gmail.com>
2023-03-14 10:55:49 -04:00
Sridhar Ratnakumar
e16a1f8e2a Move template test from ci.yaml to test.sh 2023-03-13 21:40:45 -04:00
Sridhar Ratnakumar
632d3dc7a4
Refactor tests: decouple them to their own subdir (#122) 2023-03-13 21:23:13 -04:00
Sridhar Ratnakumar
26852ade57 Prep for 0.2.0 2023-03-13 18:03:29 -04:00
Sridhar Ratnakumar
b66be14a08 docs: add direnv setup 2023-03-13 15:45:09 -04:00
Sridhar Ratnakumar
99d22ee979 docs: Add full flake.nix to nixpkgs-haskell tutorial 2023-03-13 13:06:49 -04:00
Sridhar Ratnakumar
35aeb1c941 docs: Add basics of Haskell infra on nixpkgs 2023-03-13 12:51:24 -04:00
Sridhar Ratnakumar
ccd0b54196 docs: add styling for .md of parent comit 2023-03-13 12:17:52 -04:00
Sridhar Ratnakumar
63d1153b82 docs: Add introduction to nix 2023-03-13 12:12:28 -04:00
Sridhar Ratnakumar
987eab6378
build-haskell-package.nix: Fix accuracy of module description
The hpack thing is only related to our use of sdist.
2023-03-12 23:03:35 -04:00
Shivaraj B H
a039db3d84
fix: include withSystem as specialArgs (#119)
default-project-modules.nix expects withSystem as input but fails with attribute missing and hence has to be explicitly inherited in specialArgs
2023-03-12 22:58:05 -04:00
Sridhar Ratnakumar
628883aaf3 refactor: Create build-haskell-package.nix 2023-03-12 22:49:12 -04:00
Sridhar Ratnakumar
49bed5acd8
Merge pull request #114 from srid/source-filter
Source filtering
2023-03-12 22:24:05 -04:00
Sridhar Ratnakumar
a4027e7475 Add comment for clarity around cleanSourceWith 2023-03-12 22:21:34 -04:00
Sridhar Ratnakumar
7a84910a1f Restore original hpack generation logic (#116) 2023-03-12 22:20:28 -04:00
Sridhar Ratnakumar
85e6d57887 Run nixpkgs-fmt 2023-03-12 22:20:28 -04:00
Sridhar Ratnakumar
bfb7d3c3ec runtest.sh: Prevent using macOS shell (zsh or bash)
Also change CI to run bash directly from nixpkgs
2023-03-12 22:20:17 -04:00
Robert Hensing
cd5e16917d Add trivial source filter to avoid rebuilds 2023-03-12 22:19:36 -04:00
Robert Hensing
f995e244af refactor: Add hlib binding to haskell-project.nix 2023-03-13 01:38:44 +01:00
Robert Hensing
3997077929 Reproduce source filtering problem 2023-03-13 01:38:44 +01:00