DavHau
3030cd5877
examples/python-pdm: migrate to ./packages
2023-11-07 19:08:27 +07:00
DavHau
bce7ab631d
nodejs-package-json: use v3 lock file
2023-11-07 18:45:35 +07:00
DavHau
9f507c9341
docs: improve docs for groups
2023-11-07 16:34:00 +07:00
DavHau
3b42e5a8e4
docs: fix missing options for modules
...
- render all top-level options declared by a module
2023-11-07 16:34:00 +07:00
DavHau
edda831f76
groups: update readme
2023-11-07 15:39:25 +07: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
a7690e35d0
flake-compat: vendor + customize
...
modified to fix laziness issue in defaultNix
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
0ed0a765d6
pdm: update pyproject-nix dependency
2023-11-04 06:36:34 +00:00
adisbladis
2c8f520108
pdm: Use fetchFromPypi from pyproject.nix
2023-11-04 06:36:34 +00:00
adisbladis
e28ae15e36
pdm: Remove universal wheel file name test
...
It was broken by changes in pyproject.nix and doesn't seem to be in use anyway.
2023-11-04 06:36:34 +00:00
adisbladis
e16b6544e2
pdm: Select wheel using pyproject.nix
2023-11-04 06:36:34 +00:00
adisbladis
203dc17210
Bump pyproject.nix
2023-11-04 06:36:34 +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
5914156eb7
examples: add flake.nix to each example
...
This makes hte examples more standalone and suitable for copy & paste
2023-10-31 11:36:21 +00:00
DavHau
61bc3b1377
examples: remove dream2nix- prefix
2023-10-30 21:42:51 +00:00
t4ccer
1a7a59e001
Remove Haskell example readme
2023-10-30 20:35:34 +00:00
t4ccer
c5b2624352
More robust source locking
2023-10-30 20:35:34 +00:00
t4ccer
2313bdf946
Don't fixup dependencies to prevent moving directories
2023-10-30 20:35:34 +00:00
t4ccer
42d9efb91b
Clean up haskell stuff
2023-10-30 20:35:34 +00:00
t4ccer
d903c85d7a
Simplify lock file
2023-10-30 20:35:34 +00:00
t4ccer
92375aa5fd
Add toy Haskell example
2023-10-30 20:35:34 +00:00
DavHau
3789a1bdb7
pdm: allow selecting multiple groups
2023-10-29 23:14:00 +00:00
DavHau
dd4cdb252c
pdm: reformat lib.nix
2023-10-29 23:14:00 +00:00
DavHau
c39edb8532
groups: rename commonModule -> overrideAll
2023-10-29 23:14:00 +00:00
Johannes Kirschbauer
f9f8b595d6
Docs: add comment to flake template
2023-10-29 12:36:14 +00:00
DavHau
752936f0c2
groups: implement global and local overrides
...
implement options:
- options.overrides
- options.groups.<name>.overrides
Having this, it should not be necessary anymore to override members of a group directly. Instead the logic can be bound to package names, either globally for all groups, or locally for a single group.
We should probably also rename :
- `options.commonModule` -> `options.overrideAll`
- `options.groups.<name>.commonModules` -> `options.groups.<name>.overrideAll`
2023-10-29 01:59:54 +00:00
DavHau
4bd6022300
nodejs-granular-v3: fix option prefix
2023-10-28 23:51:11 +00:00
DavHau
a900b3a332
lib: make all modules use new lib locations
2023-10-25 10:11:54 +00:00
DavHau
c6c1a430ff
lib: move to /modules/flake-parts/lib
2023-10-24 23:08:13 +00:00
dependabot[bot]
17aa9af586
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8ade135a41...b4ffde65f4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 22:07:11 +00:00
DavHau
cf82f7a1ed
docs: configure highlight.js
2023-10-23 19:31:57 +00:00
DavHau
ce51fbf18b
groups: improve docs
2023-10-23 19:17:06 +00:00
DavHau
31fb84a7f5
groups: rename conf
-> module
2023-10-23 13:28:57 +00:00
DavHau
7f753eb025
groups: change structure
...
renames:
- packages.foo."1.0.0" -> packages.foo."1.0.0".conf
- packagesEval.foo."1.0.0" -> packages.foo."1.0.0".evaluated
- public.packages.foo."1.0.0" -> packages.foo."1.0.0".public
2023-10-23 00:35:34 +00:00
DavHau
731ac1daf1
docs: better summary + embed modules README.md
2023-10-22 22:10:43 +00:00
DavHau
c3c5769aba
multi-derivation-package: init
2023-10-22 21:42:07 +00:00
DavHau
8b5ddd6fe9
lib/types: init
2023-10-22 20:53:02 +00:00
DavHau
aac7f3f77e
pdm: build package with deps
2023-10-22 00:50:36 +00:00
DavHau
19fce43579
selectWheel: init
2023-10-21 23:31:45 +00:00
hsjobeki
0c6910060f
add versions to group packages
2023-10-18 16:54:32 +00:00
DavHau
c3e07bf838
findCycles: revert to original file
2023-10-17 23:00:27 +00:00
hsjobeki
fb0a14d9f4
format
2023-10-17 23:00:27 +00:00
hsjobeki
e2dbadbe30
format
2023-10-17 23:00:27 +00:00
hsjobeki
cd768ec64c
add more graph utilities
2023-10-17 23:00:27 +00:00
hsjobeki
f10b945a53
format
2023-10-17 23:00:27 +00:00