Commit Graph

1737 Commits

Author SHA1 Message Date
DavHau
d7238d66f3 docs: migrate docs from drv-parts 2023-07-29 13:28:22 +02:00
DavHau
30b117c7f8
Merge pull request #607 from nix-community/drv-parts
migrate drv-parts into dream2nix
2023-07-29 12:44:51 +02:00
DavHau
ef388ef84c chore(modules): move core modules to ./modules/core 2023-07-29 12:36:13 +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
ac20d70957 examples: add dream2nix-repo
An example for a dream2nix repo with multiple packages
2023-07-24 22:21:37 +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
dc587877b5 readme: fix typo 2023-07-24 12:37:44 +02:00
DavHau
09a39fe60b
WIP (#598) 2023-07-24 11:54:28 +02:00
DavHau
e68bff6dbd docs: improve readme 2023-07-19 16:06:03 +02:00
DavHau
96a11d4197 move v1/nix to top-level 2023-07-19 15:53:03 +02:00
DavHau
fcfda68490 remove legacy ./src 2023-07-19 15:44:42 +02:00
DavHau
5fe5538b2f chore: fix treefmt pre-commit check 2023-07-19 15:41:30 +02:00
DavHau
fa3a250b02 chore: reformat files 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
c9c8689f09 remove legacy overrides 2023-07-18 19:25:05 +02:00
DavHau
7603b347ac remove legacy notes + templates 2023-07-18 19:23:34 +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
7f2965906c docs: remove legacy docs 2023-07-18 19:02:38 +02:00
DavHau
548ced938d readme: cleanup, improve, remove legacy stuff 2023-07-18 13:09:35 +02:00
Paul Haerle
3802b906b4
Merge pull request #579 from nix-community/fix-odoo-macos
v1/drvs: add nixpkgs-overrides for odoos psycopg2
2023-07-13 10:52:22 +02:00
phaer
6819a15ccc v1/drvs: add nixpkgs-overrides for odoos psycopg2
...to fix aarch64-darwin builds
2023-07-13 10:49:17 +02:00
Paul Haerle
8149d6d59b
Merge pull request #575 from nix-community/isso-setuptools
v1/drvs/isso: add setuptools and comment
2023-07-12 13:07:56 +02:00
phaer
43bfbc8d74 v1/drvs/isso: add setuptools and comment 2023-07-12 12:54:11 +02:00
phaer
0b425bedc4 v1/lock: fix nix deprecation warning 2023-07-11 17:16:10 +02:00
Paul Haerle
4532520021
Merge pull request #547 from nix-community/dont-filter-other-systems
packages: allow all systems...
2023-07-11 10:38:04 +02:00
phaer
519f3a3871 ci: remove nix flake check run...
...we'll re-introduce specific pure tests later on, but nix flake check
always evaluates packages for all platforms as far as we know, and
that will fail if not all lock files are up to date
2023-07-11 09:50:04 +02:00
phaer
ad71089ddc packages: allow all systems...
..don't filter them
2023-07-11 09:48:56 +02:00
DavHau
e34c4fb33e feat(nodejs-devshell): expose node_modules drv submodule 2023-07-10 17:51:45 +02:00
DavHau
299c087847 ci: remove tests irrelevant for v1 2023-07-10 17:49:04 +02:00
Paul Haerle
3772175693
Merge pull request #565 from nix-community/ci
ci: enable hercules
2023-07-10 14:17:04 +02:00
DavHau
27468aef5a ci: enable hercules 2023-07-10 13:53:30 +02:00
DavHau
7f4d72ab1c test(fetchPipMatadata): fix mistake in test 2023-07-10 13:51:50 +02:00
DavHau
49cc215538 refactor(fetchPipMetadata): minor refactoring after code review 2023-07-10 13:51:50 +02:00
DavHau
8da26fae21 chore: update lock files 2023-07-10 13:51:50 +02:00
DavHau
f9cd0c5cef fix(v1/pip): bug in fetchPipMetadata when multiple roots are requested
So far, whenever multiple roots are requested, only the last one was respected for the lock file

Now all roots are merged into the `default` extra
2023-07-10 13:51:50 +02:00
DavHau
d0fe509a67 test(fetchPipMetadata): refactor test_path_in_nix_store 2023-07-10 13:51:50 +02:00
DavHau
cb6a70dfe3 test(fetchPipRequirements) monkeypatch nix_show_derivation 2023-07-10 13:51:50 +02:00
DavHau
52add48d47 refactor(fetchPipRequirements): refactor git_repo_root
default to the current directory
2023-07-10 13:51:50 +02:00
DavHau
013b7f98d1 ci: expose fetchPipMetadata package and build it 2023-07-10 13:51:50 +02:00
DavHau
e93f0f2aea test(fetchPipMetadata): add more tests 2023-07-10 13:51:50 +02:00
DavHau
4e5ca7a690 refactor(fetchPipMetadata): raise Exception instead of sys.exit(1) 2023-07-10 13:51:50 +02:00
DavHau
2c4355b63d tests(pip): initialize unit tests via pytest 2023-07-10 13:51:50 +02:00
DavHau
ca0847531b devshell: include black into python 2023-07-10 13:51:50 +02:00