DavHau
bf38888d90
examples(nodejs): remove example prettier-no-lock
2023-07-08 13:22:51 +02:00
DavHau
b38c4d9a2f
examples(nodejs): add example nodejs-no-lock
2023-07-08 13:22:51 +02:00
DavHau
6159824a2a
feat(lock): don't write empty lock file
...
... and delete ones which became empty
2023-07-08 13:02:07 +02:00
dependabot[bot]
9a59240b8a
chore(deps): bump cachix/install-nix-action from 17 to 22
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 17 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v22 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 12:06:33 +02:00
dependabot[bot]
8bbed86d18
chore(deps): bump cachix/cachix-action from 10 to 12
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 10 to 12.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v10...v12 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 12:05:56 +02:00
dependabot[bot]
b325fd6263
chore(deps): bump actions/checkout from 2.4.0 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.5.3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-08 12:05:35 +02:00
DavHau
42fc68180e
fix(github): fix dependabot file location
2023-07-08 11:23:51 +02:00
DavHau
8fe43a193d
feat(github): add dependabot
2023-07-07 21:34:04 +02:00
Jairo Llopis
e2f9f2c211
docs: fix typo on fetchers
2023-07-07 14:11:13 +02:00
Grégoire Geis
5a3e87301f
rust: add support for workspace-inherited crate versions
2023-07-04 21:43:35 +03:00
DavHau
ff71cd8e18
feat(nodejs-node-modules): ensure the .bin also exists in the local node_modules
...
This change allows to re-locate the node_modules directory via a single copy operation.
The current builder installs the .bin directory one level above the top-level package which isn't what we want for the node-modules output.
This change ensures that the .bin also exists within the local node_modules directory of the current package.
It also ensures that all symlinks are relative and don't point to store paths
2023-07-04 21:10:08 +03:00
DavHau
d67e213ed3
feat(v1): new modules nodejs-devshell
2023-07-04 21:10:08 +03:00
DavHau
65f7ad793b
feat(v1): new module nodejs-node-modules
2023-07-04 21:10:08 +03:00
Paul Haerle
07a24630e1
remove dream2nix-legacy drv-part... ( #549 )
...
as it's currently broken in requiring IFD during nix flake show.
2023-07-04 16:17:46 +02:00
Sridhar Ratnakumar
76fba001f3
docs/rust: Fix syntax error in fenix example ( #541 )
2023-07-01 22:28:40 +03:00
Florian Friesdorf
1fd0c83a4c
Some whitespace for lock file error formatting ( #544 )
...
* Some whitespace for lock file error formatting
* Fix typo
2023-07-01 21:33:29 +03:00
DavHau
429171bd07
fix(v1/nodejs-granular): allow empty mkDerivation.src
2023-06-29 16:59:41 +03:00
DavHau
b87571ee51
fix(nodejs/strict-builder): fix ID comparison
2023-06-29 16:57:27 +03:00
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