DavHau
c6c1a430ff
lib: move to /modules/flake-parts/lib
2023-10-24 23:08:13 +00:00
DavHau
cf82f7a1ed
docs: configure highlight.js
2023-10-23 19:31:57 +00:00
DavHau
731ac1daf1
docs: better summary + embed modules README.md
2023-10-22 22:10:43 +00:00
DavHau
aac7f3f77e
pdm: build package with deps
2023-10-22 00:50:36 +00:00
DavHau
b10f3495e5
checks: add system attribute
2023-10-17 18:12:32 +00:00
DavHau
1caf997f69
linkchecker: disable because of performance issues
2023-10-12 00:55:37 +02:00
DavHau
5798a23484
docs: add reference documentation to website
2023-10-12 00:55:37 +02:00
DavHau
d2e9a494d1
modules: fixup core modules for docs rendering
2023-10-12 00:51:07 +02:00
DavHau
cd7dee14ae
modules: fixup more nodejs modules for docs rendering
2023-10-11 21:43:01 +00:00
DavHau
e6800060c9
modules: fixups nodejs modules to render docs
2023-10-11 21:12:59 +00:00
DavHau
164b965b44
modules: fixups for documentation rendering
2023-10-11 20:44:36 +00:00
DavHau
dc43eeb495
modules: various fixups for rendering docs
2023-10-11 20:28:38 +00:00
DavHau
af64cc5644
docs: improve module reference rendering
2023-10-11 00:39:50 +00:00
DavHau
585b98cc99
docs: render first module via site
module
2023-10-11 00:39:50 +00:00
DavHau
e945481137
WIP: adopt flake-parts docs modules for dream2nix
2023-10-11 00:39:50 +00:00
DavHau
87d65e704e
init flake parts docs modules
2023-10-11 00:39:50 +00:00
DavHau
07a3dab254
checks: add all packages to checks
2023-10-08 14:28:50 +02:00
DavHau
88087f6b88
modules: export also core modules
2023-10-08 00:28:18 +02:00
DavHau
c4bc9c1f27
feat(pdm): build default group
...
Also implement source fetching
2023-10-01 00:49:05 +01:00
DavHau
03b1e05f7b
fix(spago): fix flake inputs
2023-09-30 15:56:55 +01:00
DavHau
c627b56063
fix(examples): fix shadowed dream2nix arg
2023-09-29 20:16:42 +01:00
DavHau
a7d92db293
fix(modules): pass modules inputs correctly
2023-09-29 19:00:30 +01:00
Frederik Rietdijk
c78d39119a
wip pdm init
2023-09-28 19:11:18 +01:00
DavHau
e913ec992b
ci: remove ./ci.nix
2023-09-21 11:00:03 +02:00
DavHau
4eb5478fdd
feat(paths): allow paths.package to be an absolute path
2023-09-21 11:00:03 +02:00
Jairo Llopis
8576970852
fix: forward incoming modules when using importPackages
interface
...
Before this patch, if a user calls `importPackages` and includes custom modules in the call, those would be lost.
@moduon MT-1075
2023-09-18 18:12:59 +02:00
DavHau
08d414a359
feat: community overrides
...
- Add community overrides accessible via dream2nix.overrides.{lang}.{pname}
- make the pip module use the overrides for dependencies
2023-09-12 00:07:04 +02:00
DavHau
16b9241e2b
modules.drv-parts: add deprecation error
2023-09-09 15:19:24 +02:00
DavHau
556f2e7114
feat(lib): add helper lib.importPackages
...
This makes the repo initialization simpler (see examples)
2023-09-06 00:43:37 +02:00
DavHau
79fc0de519
examples: templates for all example packages and repos
2023-09-06 00:12:47 +02:00
DavHau
1202352107
checks.nix-unit: fix nix-unit call
2023-09-05 16:22:57 +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
ddbd3a159b
example-repo: use dream2nix.lib.evalModules
2023-09-03 01:09:42 +00:00
DavHau
87722db970
feat(paths): init new core module 'paths'
...
This is to improve package location finding at eval time and script execution time.
Deprecates options lock.{repoRoot,lockFileRel} as well as option eval-cache.{repoRoot, cacheFileRel}
Instead the user must now set:
- paths.projectRoot: pointing to the repoRoot
- paths.package: pointing to the package directory
- paths.projectRootFile can be used to define a marker file to find the project root. The default is '.git' but it could be set to 'flake.nix' for example
- lock files are by default put in the same directory as the package definition
2023-09-02 23:34:54 +00:00
DavHau
c5f5b03944
refactor: rename modules.drv-parts => modules.dream2nix
2023-08-31 13:09:43 +00:00
DavHau
f4371d3e9b
refactor(examples): re-categorize
...
new categories:
- basics
- single-language
- multi-language
2023-08-31 12:53:22 +00:00
DavHau
4663912a1c
tests: add nix unit tests for pip module
2023-08-28 15:27:03 +00:00
DavHau
5724c1e389
lib.evalModules: fix reference to modules
2023-08-28 15:27:03 +00:00
DavHau
995aca8d7d
all-modules: ignore files in module directory
2023-08-07 13:51:03 +00:00
DavHau
890d60bcb4
examples: move to /examples from /modules/drvs
2023-07-29 15:08:40 +02:00
DavHau
fee831dd8f
drv-parts: migrate some examples from drv-parts repo
2023-07-29 12:36:13 +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
4dc2377896
packages.nix: fix typo
2023-07-29 09:45:31 +02:00
DavHau
c93ace7b6b
chore: reformat docs for writers
2023-07-26 16:15:11 +02:00
DavHau
9023d3bf18
chore: format
2023-07-26 15:52:57 +02:00
Robert Hensing
3d4131046b
Add module docs for writers
2023-07-26 15:52:57 +02:00
DavHau
cdfbf98a11
feat: add dream2nix.modules.drv-parts.core
...
This already includes the `lock` module and makes it easier to call dream2nix via evalModules
2023-07-24 14:39:01 +02:00
DavHau
96a11d4197
move v1/nix to top-level
2023-07-19 15:53:03 +02:00