Commit Graph

1903 Commits

Author SHA1 Message Date
DavHau
66658fb429 pip: fix bug with parsing requirements
When parsing the pip report, parsing some requirements could fail, as the packaging library used for the parsing was different from the one used by pip internally.

This makes sure that always the pip internals packaging library is used, which should prevent inconsistencies like that.
2023-08-28 15:27:03 +00:00
DavHau
3dd23864cb pip: don't crash on cycles, fix them instead
pip does allow cycles and they are common in larger dependency trees. Instead of crashing on them, we should allow the user to deal with them.

As a result of this, it can happen that during the installation of individual dependencies, some dep(s) might be missing, which then can be fixed by including them manually or with a `--no-deps`
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
035773d54d pip: fix devshell 2023-08-28 15:27:03 +00:00
DavHau
41e2993c31 benchmarks: configure number of env variables via $2 2023-08-08 22:49:20 +00:00
DavHau
01496bcc72 modules: add standalone flake 2023-08-07 13:51:03 +00:00
DavHau
995aca8d7d all-modules: ignore files in module directory 2023-08-07 13:51:03 +00:00
DavHau
deb25a354f benchmarks: pkg-funcs vs. modules 2023-08-07 11:52:59 +00:00
DavHau
7b96349dd4 notes: add notes/module-system-problems.md 2023-08-06 13:22:48 +00:00
DavHau
352d44bcc9 docs: remove v1 draft API docs from index
... but keep the md files. There are still valuable drafts which are not yet implemented
2023-08-06 10:12:41 +00:00
Mihai Fufezan
5d05eaaad0 fetchPipMetadata: compute hash for non-FOD paths 2023-08-06 11:52:07 +02:00
InLaw
89bab978fc
fix internal links after v1 restructuring (#612)
Co-authored-by: aedsm <service@analytics-endeavor.de>
2023-08-01 16:17:25 +02:00
DavHau
c3f184f09f docs: link examples from the docs 2023-07-29 15:29:06 +02:00
DavHau
d48babc7b5 examples: improve dream2nix-repo example 2023-07-29 15:29:06 +02:00
DavHau
8f36c5b85e
Merge pull request #609 from nix-community/docs
examples: move to /examples from /modules/drvs
2023-07-29 15:10:20 +02:00
DavHau
890d60bcb4 examples: move to /examples from /modules/drvs 2023-07-29 15:08:40 +02:00
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