Commit Graph

127 Commits

Author SHA1 Message Date
DavHau
4b155e6a5d docs: render docs also for core modules 2023-12-03 08:53:50 +00:00
DavHau
0e36d8d42b flake: add back checks, devShells, packages, templates 2023-11-05 03:42:18 +00:00
DavHau
581a7cff0b flake: separate top-level from dev-flake fully 2023-11-05 03:42:18 +00:00
DavHau
d8e4b477e3 refactor: move dev related things to /dev-flake
The goal is to reduce the flake inputs visible to the user
Still, the top-level flake re-exposes the outputs of the dev-flake, but
without exposing its inputs. This means a devShell is still available in
the top-level, for example.

This also removes the /modules/flake.nix. Its original purpose was
separating the modules inputs from the development inputs, but this is
now done the opposite way around by moving the dev inputs to
/dev-flake/flake.nix.
2023-11-05 03:42:18 +00:00
DavHau
1f680838ab lib: move to /lib from /modules/flake-parts/lib 2023-11-05 03:23:11 +00:00
DavHau
954bacb0a6 chore: more formatter into separate flake module 2023-10-31 12:09:56 +00:00
DavHau
bc2e8ddb64 chore put pre-commit-checks into extra file 2023-10-31 15:00:35 +03:00
DavHau
543315a7cf chore: move devShells to separate module 2023-10-31 11:46:26 +00:00
DavHau
5798a23484 docs: add reference documentation to website 2023-10-12 00:55:37 +02:00
DavHau
e913ec992b ci: remove ./ci.nix 2023-09-21 11:00:03 +02:00
DavHau
fbefb96a81 templates: remove v1-python template
This is already covered in examples and all examples are exported as templates already
2023-09-17 15:41:35 +02:00
DavHau
e0d25af360 refactor(fetchPipMetadata)
- add flake-module.nix
- remove custom logic to find the repo root
- use findRoot script to find repo root
- use gitMinimal instead of git
- use separate python version for lock script than the python version to lock for. This prevents rebuilds and allows defining a standalone fetchPipMetadata package
2023-09-03 22:47:21 +00:00
DavHau
4663912a1c tests: add nix unit tests for pip module 2023-08-28 15:27:03 +00:00
DavHau
d7238d66f3 docs: migrate docs from drv-parts 2023-07-29 13:28:22 +02:00
DavHau
92aa826648 refactor: move drv-parts into dream2nix
because managing a single repo is simpler than managing two.
2023-07-29 12:36:04 +02:00
DavHau
96a11d4197 move v1/nix to top-level 2023-07-19 15:53:03 +02:00
DavHau
5fe5538b2f chore: fix treefmt pre-commit check 2023-07-19 15:41:30 +02:00
DavHau
217fa8d35a chore: remove nixpkgsV1 2023-07-19 15:41:30 +02:00
DavHau
63a6d0c2f3 cleanup flake.nix 2023-07-19 14:40:54 +02:00
DavHau
182075a9e1 remove legacy tests 2023-07-18 19:19:06 +02:00
DavHau
336cbfc254 remove legacy examples + example tests 2023-07-18 19:13:11 +02:00
DavHau
ca0847531b devshell: include black into python 2023-07-10 13:51:50 +02:00
DavHau
3f47ac7490 update flake input nixpkgsV1 2023-06-21 14:49:19 +02:00
Florian Franzen
c269b018cd crane: 0.10.0 -> 0.12.1 2023-04-27 20:20:38 +02:00
DavHau
3a2adfa121 feat(flake-compat): manage default.nix and shell.nix via flake-compat 2023-03-24 12:04:04 +08:00
DavHau
f6b2e4bd41 fix(devShell): remove pinned nix from devShell 2023-03-19 14:23:40 +07:00
DavHau
3cf6d7fcac chore(formatting): use alejandra from nixpkgs 2023-03-13 12:46:11 +07:00
DavHau
ac63eb584f feat: integrate v1 into top-level fake 2023-03-13 12:46:11 +07:00
Yusuf Bera Ertan
a24f9098e6
chore: update flake-parts input 2023-02-18 22:06:01 +03:00
DavHau
13eb4c8bd1
Merge pull request #455 from waalge/waalge/bump-docs
Waalge/bump docs
2023-01-31 13:50:07 +07:00
Brian Leung
4ca7a45f63
Racket: make pruned-racket-catalog a flake input 2023-01-26 19:03:06 -08:00
waalge
e4dedcde75 rm pre-commit hook for docs & mv error catch to package 2023-01-23 06:56:45 +00:00
waalge
f06925610b fix: precommit hook for mdbook failing appropriately 2023-01-14 11:44:37 +00:00
waalge
7a3e7af2cc add pre-commit hook for book 2023-01-14 11:39:56 +00:00
hsjobeki
cad5005cab add: python formatting 2022-12-28 20:41:52 +01:00
Yusuf Bera Ertan
0176f85f80
refactor: remove devshell externals 2022-12-21 00:24:19 +03:00
Yusuf Bera Ertan
4b1ef01a87
feat(rust): update crane builder 2022-12-08 23:55:30 +03:00
phaer
f9e6c0e245 update poetry2nix 2022-11-23 18:18:37 +01:00
Florian Friesdorf
8fe0f06a47 Add python translator for pinned packages
Co-authored-by: DavHau <hsngrmpf+github@gmail.com>
2022-11-22 18:06:20 +00:00
Yusuf Bera Ertan
ae69cad370
docs: remove obsolete comment 2022-11-22 17:45:37 +03:00
Yusuf Bera Ertan
f44016a2d4
refactor: move dream2nix interface to modules 2022-11-20 09:03:09 +03:00
Yusuf Bera Ertan
4b4e82cb14
refactor: use flake-parts for the flake 2022-11-20 00:44:43 +03:00
DavHau
7c145b4b4d
Merge pull request #389 from hsjobeki/examples-es-template
add all examples as templates
2022-11-19 10:28:23 +01:00
hsjobeki
3b2ac250c6 add all examples as templates 2022-11-18 12:26:53 +01:00
Yusuf Bera Ertan
6385c1f1c1
fix: utils -> framework.utils 2022-11-18 05:59:52 +03:00
hsjobeki
8edeb5d29a remove: .gitignore & add comprehensive description to flake template instead 2022-11-16 09:25:33 +01:00
DavHau
fbba21b525 chore: rename directory of flake based integration tests 2022-11-14 15:42:35 +01:00
Yusuf Bera Ertan
719f03ab46
feat: make apps use modules 2022-11-05 01:13:56 +03:00
Yusuf Bera Ertan
cc3020a32f
refactor: change projects -> inputs, make option description more explanatory 2022-10-31 22:26:03 +03:00
Yusuf Bera Ertan
5fd403b090
feat: define projects via attrset, rename flakePartsModule to flakeModule 2022-10-29 03:57:38 +03:00