DavHau
f47929385c
feat(v1): pass dream2nix.lib to evalModules
2023-06-29 16:56:40 +03:00
DavHau
6b750b0138
fix(pip/lock_file_from_report.py): fix bug with set operation
2023-06-22 12:26:52 +02:00
Yueh-Shun Li
70ddec09f2
sourceOverrides: fix types and add documentation about the version ( #523 )
...
* sourceOverrides: fix type specification
* sourceOverrides: explain where to look for the overriding version
2023-06-22 10:43:29 +02:00
Paul Haerle
fc0bb61fa3
v1/pip: support building with a subset of locked extras ( #530 )
...
* fix(v1/pip): remove substitution opt...
...from the interface, as it's already gone in the implementation.
There's no direct replacement for binary substitutions anymore, use
nixpkgs-overrides as apropriate.
* feat(v1/pip): default to provided_extras for lock
* feat(v1/pip, breaking): introduce targets to lock.
...targets correspond to a set of python extra markers, e.g. "dev"
or "docs". We now write separate dependency trees for each requested
extra to the lock file.
We can then select a subset of those features using the new
"pip.buildExtras" option. Note that this option currently affects the
dependency tree only.
This approach is still not bullet proof, i.e. in cases where a
constraint of a package in "dev" changes the version of a package
in "default" during resolving.
2023-06-22 10:42:54 +02:00
DavHau
c99c233fc7
feat: nodejs + python mixed language derivation ( #528 )
...
* v1/examples/isso: init
* feat(v1): allow mixed lang drv with nodejs and python
* fix(nodejs): don't run make in build and instal phases
* fix(v1/nodejs): minor fixes
* fix(v1/nodejs): announce phases
* cleanup(v1): remove isso frontend and lock files
* revert(v1/pip): revert including all dependencies by default
* fix(v1/pip): define python version for submodule without IR
* fix(nodejs-package-json): always use npm v8 to generate lock file
* cleanup(nodejs-package-json): remove dead code
---------
Co-authored-by: phaer <hello@phaer.org>
2023-06-22 10:40:03 +02:00
Paul Haerle
088583b204
Merge pull request #532 from nix-community/update-v1-nixpkgs
...
update flake input nixpkgsV1
2023-06-22 01:06:34 +02:00
DavHau
a01d080fa0
fix(v1/nodejs-package-json): ensure npm < 9 is used
2023-06-21 17:00:17 +02:00
DavHau
d0bc947ef4
fix(drvs/apache-airflow): don't use nixpgks-overides
2023-06-21 15:22:25 +02:00
DavHau
6aecad7ef7
fix(pip): don't import nixpkgs-overrides by default
2023-06-21 15:22:04 +02:00
DavHau
3f47ac7490
update flake input nixpkgsV1
2023-06-21 14:49:19 +02:00
DavHau
0572dda8bd
Merge pull request #529 from nix-community/remove-mach-nix-xs
...
Replace mach-nix-xs/fetchPip with pip/fetchPipMetadata
2023-06-20 17:22:52 +02:00
phaer
421e32a822
chore(v1/mach-nix-xs): remove, superseeded by pip
...
The newer pip and fetchPipMetadata modules include sufficient
functionality to replace mach-nix-xs.
The last remaining example has been ported.
2023-06-16 12:19:12 +02:00
phaer
f104247392
feat(v1/drvs/apache-airflow): mach-nix-xs -> pip
2023-06-16 12:18:27 +02:00
phaer
0c064fa9dd
v1/pip: add missing dream2nix input.
2023-06-06 17:19:43 +02:00
DavHau
3a53602466
fix(v1/nodejs): buildScript ignored
2023-06-06 18:10:44 +03:00
DavHau
384e2e88e6
fix(v1/nodejs): installMethod not set
2023-06-05 23:28:41 +03:00
DavHau
1b712f8f9b
fix(v1/nodejs): runBuild not set true for top-level
2023-06-05 19:44:29 +03:00
DavHau
411c79097f
fix(v1/nodejs): bug in path concatenation
2023-06-05 19:38:51 +03:00
DavHau
adf43d2708
Merge pull request #515 from nix-community/python-wrapper-args
...
feat(v1/buildPythonPackage): add makeWrapperArgs
2023-05-30 13:55:52 +02:00
Paul Haerle
16a68020c0
Merge pull request #466 from phaer/patch-1
...
Update getting-started-python.md
2023-05-30 13:43:35 +02:00
DavHau
7d21a047a6
Merge pull request #513 from nix-community/port-nodejs
...
Port nodejs to drv-parts (v1)
2023-05-29 19:50:30 +02:00
DavHau
b619ea5846
feat(v1) move fetchers to nix/lib/internal
2023-05-29 17:01:23 +02:00
DavHau
a1eead6813
feat(v1/lock): fix typo
2023-05-29 16:43:17 +02:00
DavHau
d40329a29a
feat(v1): add module nodejs-package-json
2023-05-29 16:38:58 +02:00
DavHau
17a0b6279e
feat(v1): update drv-parts template
2023-05-29 16:38:43 +02:00
DavHau
c6e44b0d0f
feat(v1/nodejs): minor improvements
2023-05-29 16:31:28 +02:00
DavHau
970b0ec3b8
fix(v1/lock): crash when script replaces $out file
2023-05-29 16:29:24 +02:00
DavHau
41b54f30a8
chore(v1/lib): add comment to prepareSourceTree
2023-05-19 11:29:43 +02:00
DavHau
847bdec2c5
chore(v1/lib): move lib to lib/internal
2023-05-19 11:05:32 +02:00
DavHau
1c563b00fc
chore(v1/dream-lock): add comments to legacy code
2023-05-19 11:01:52 +02:00
DavHau
3a8bcef617
fix(v1/nodejs): remove electron related code
2023-05-19 10:53:36 +02:00
DavHau
8042e028bc
fix: don't require stdenv in fetchers
2023-05-19 10:48:24 +02:00
DavHau
49b1dfc63d
fix: restore /src/fetchers
2023-05-19 10:44:05 +02:00
DavHau
da3381b6a1
refactor(v1): move extractSource to fetchers
2023-05-19 10:37:01 +02:00
DavHau
44a0b9c964
WIP: port nodejs to v1
2023-05-19 10:26:39 +02:00
DavHau
15df35f18d
duplicate src/subsytems/nodejs/granular-nodejs to v1/nix/modules/drv-parts/nodejs-granular
2023-05-19 10:17:32 +02:00
DavHau
3a8fe7ce6a
refactor: move fetchers from src/fetchers to v1/nix/fetchers
2023-05-19 10:17:32 +02:00
phaer
29390c8b93
feat(v1/buildPythonPackage): add makeWrapperArgs
2023-05-11 10:39:27 +02:00
DavHau
fbfb09d2ab
feat(templates): add template v1-python
2023-05-04 16:53:22 +02:00
DavHau
36b0bb2f84
feat(v1/lock): print location of new file
2023-05-04 16:50:46 +02:00
DavHau
5fd2856cf6
refactor(v1/pip): import writers directly
2023-05-04 16:50:21 +02:00
DavHau
2e1cac96e8
fix(v1): move writers to pkgs
2023-05-02 14:05:57 +02:00
DavHau
df07956cc5
fix(v1/python): don't include autoPatchelfHook for darwin
2023-05-01 23:02:47 +02:00
DavHau
b49c9bb57f
fix(v1/python): don't include manylinux packages for darwin
2023-05-01 22:58:06 +02:00
DavHau
026cc31545
Merge pull request #512 from FlorianFranzen/main
...
crane: 0.10.0 -> 0.12.1
2023-04-29 01:31:37 +02:00
DavHau
af5d819d7c
Merge pull request #509 from LiGoldragon/main
...
fixed typo
2023-04-29 01:27:14 +02:00
Florian Franzen
c269b018cd
crane: 0.10.0 -> 0.12.1
2023-04-27 20:20:38 +02:00
Paul Haerle
bef06f0ad8
Merge pull request #511 from irisjae/main
...
Fix README link for "Contributing"
2023-04-27 11:10:50 +02:00
irisjae
9be884ba3e
Fix README link for "Contributing"
2023-04-27 16:57:40 +08:00
li
6cf636885b
(fixed typo)
2023-04-26 10:18:37 +07:00