happysalada
3ba597f116
chore: nodejs: add electron 19.1.9
2022-12-26 08:42:38 -05:00
zainab-ali
427258be09
Add PLTADDONDIR environment variable to racket binaries.
...
The PLTADDONDIR contains user-specific Racket configuration:
https://docs.racket-lang.org/reference/Filesystem.html#%28idx._%28gentag._356._%28lib._scribblings%2Freference%2Freference..scrbl%29%29%29
For example, is used by `raco` to install and locate a user’s `raco-commands`.
For the builder, it defaults to the user’s home directory
`$TMP_RACO_HOME`. The built `raco` binary, however, defaults to the
homeless shelter. This means that the built `raco` can't locate any
`raco-commands` in packages installed by the builder.
This commit creates a PLTADDONDIR directory structure in `etc` and
sets it as an environment variable to all binaries. The paths in
`config.rkdt` also point to this directory structure.
2022-12-25 13:39:42 +00:00
DavHau
850d8b1cb6
chore: nodejs: add electron 21.3.3
2022-12-21 20:39:30 +07:00
Yusuf Bera Ertan
39c64b454e
Merge pull request #432 from nix-community/refactor/use-mkshell-rust
2022-12-21 05:10:22 +03:00
Yusuf Bera Ertan
faa2b46f46
feat: generate shell for each package but make default the combined shell
2022-12-21 05:01:18 +03:00
Yusuf Bera Ertan
0176f85f80
refactor: remove devshell externals
2022-12-21 00:24:19 +03:00
Yusuf Bera Ertan
b679bb78f5
refactor: use nixpkgs' mkShell for rust devshells, dont create separate shells for each package
2022-12-21 00:23:52 +03:00
DavHau
5fef684214
package-json: enable --force by default
2022-12-20 14:02:15 +07:00
Yusuf Bera Ertan
2d7d68505c
Merge pull request #430 from nix-community/feat/make-crane-default
2022-12-18 03:33:49 +03:00
Yusuf Bera Ertan
a24fb71c40
docs: update docs for rust subsystem
2022-12-18 03:17:28 +03:00
Yusuf Bera Ertan
80ff2b4a86
feat(rust): change default builder to crane
2022-12-18 03:17:28 +03:00
Yusuf Bera Ertan
1cbc3aac3e
fix: use correct toolchain packages for rust_set-rust-toolchain example
2022-12-18 03:03:16 +03:00
Yusuf Bera Ertan
4ed4a2958a
fix(rust): add rustToolchain to passthru
2022-12-18 02:53:35 +03:00
Yusuf Bera Ertan
96d43a95a2
fix(rust): correct linemd overrides
2022-12-18 02:37:00 +03:00
Yusuf Bera Ertan
6460f3f0ee
fix(rust): correct overrideAttrs behaviour
2022-12-18 02:13:24 +03:00
Yusuf Bera Ertan
59de99b3be
fix(rust): make overrideAttrs work properly ( fixes #392 )
2022-12-17 15:16:30 +03:00
DavHau
6a0ab9411b
Merge pull request #428 from nix-community/improvements
...
fix: functions.translators: dream2nixConfig not loaded
2022-12-16 14:15:09 +07:00
DavHau
c0515e3816
fix: functions.translators: dream2nixConfig not loaded
2022-12-16 13:38:36 +07:00
DavHau
56e9439b04
fix: allow builders to get pkgs via build args
...
This allows to specify builder modules where the module itself doesn't require pkgs.
2022-12-16 08:38:46 +07:00
DavHau
95103a203a
chore: pure translator template: simplify comment
2022-12-16 08:37:43 +07:00
DavHau
7acc54602b
Merge pull request #427 from nix-community/cleanup
...
Cleanup
2022-12-16 07:54:37 +07:00
DavHau
8032f96d8e
chore: remove some more lib // builtins
2022-12-16 07:42:04 +07:00
DavHau
9d01389c49
chore: simplify config.lib // builtins
2022-12-15 19:58:21 +07:00
DavHau
c38d013134
fix: utils.override: replace builtins.functionArgs -> lib.functionArgs
2022-12-15 19:48:00 +07:00
Yusuf Bera Ertan
6ec1584c79
Merge pull request #421 from nix-community/no-auto-2
...
fix: makeFlakeOutputs: throw lazily when projects unspecified
2022-12-15 12:15:54 +03:00
DavHau
e82afbcb55
fix: python pip example
2022-12-15 14:53:22 +07:00
DavHau
986480a327
docs: acknowledge funding more
...
- Move funding section to the top of the readme
- add funding paragraph to the intro of the docs
2022-12-15 14:04:37 +07:00
DavHau
2af5fb9212
fix: use warn instead of throw if projects
unspecified
2022-12-15 12:46:47 +07:00
Yusuf Bera Ertan
1576b6321b
feat(rust): update crane builder, make sure vendor dir reference removal works
2022-12-14 18:14:49 +03:00
Yusuf Bera Ertan
091440502b
Merge pull request #422 from impl/python-transitive-custom-deps
2022-12-13 22:51:49 +03:00
Noah Fontes
12653eb071
fix: python: remove spurious --ignore-installed
...
This arg was inadvertently added to pip install in #397 ; it breaks
transitive dependencies on the packages we custom-install, like
setuptools and wheel.
Per @phaer, it wasn't supposed to be there and has already been removed
in the next set of larger changes, but this should fix those transitive
dependencies in the meantime.
2022-12-13 11:16:32 -08:00
DavHau
2d9d7a7ecc
fix: makeFlakeOutputs: throw lazily when projects unspecified
...
Still allow the user to execute the `detect-projects` app
2022-12-13 16:56:37 +07:00
DavHau
59ec603246
Merge pull request #415 from nix-community/no-auto
...
Disable automatic project discovery in makeFlakeOutputs
2022-12-13 16:27:26 +07:00
DavHau
c924a9edbc
fix: nodejs discoverer: exclude workspace children properly
2022-12-13 14:45:42 +07:00
DavHau
011b8ba238
add example for defining projects
as attrs
2022-12-13 13:40:46 +07:00
DavHau
a62727de80
add example for automatic project detection
2022-12-13 13:32:16 +07:00
DavHau
f83a752d38
feat: add detect-projects
app to outputs of makeFlakeOutputs
...
resolves PR change request
2022-12-13 13:27:01 +07:00
DavHau
4b57061c04
fix example _d2n-extended: reference ./proejcts.toml
2022-12-13 12:46:38 +07:00
Yusuf Bera Ertan
ff0a08bb2d
feat(rust): detect crates in cargo-lock translator if not available already
2022-12-13 12:42:03 +07:00
DavHau
01b5d43524
chore: use projects.toml in docs and examples
2022-12-13 12:42:03 +07:00
DavHau
da780c7cdd
fix: rust: accept undefined subsystemInfo
2022-12-13 12:42:03 +07:00
DavHau
9891508cdd
feat: add comment to generated projects.toml
2022-12-13 12:42:03 +07:00
DavHau
0b4f1add1b
makeFlakeOutputs: improve error message for missing projects
2022-12-13 12:42:03 +07:00
DavHau
2749626e4a
fix app detect-projects
2022-12-13 12:42:03 +07:00
DavHau
cb641555c8
chore: lib.nix remove projectsJson from flake outputs
2022-12-13 12:42:03 +07:00
DavHau
e48421c830
feat: makeFLakeOutputs: add flag autoProjects
...
- defaults to false
- helpful error is raised if set to false and `projects` is not defined
2022-12-13 12:42:03 +07:00
DavHau
08f1b71c44
add app discover-projects
2022-12-13 12:42:03 +07:00
DavHau
e7bd51d83e
add functions.discoverers.discoverProjects2
2022-12-13 12:42:03 +07:00
Yusuf Bera Ertan
3d6f13ef9d
Merge pull request #420 from hercules-ci/fix-flake-parts-doc-eval
2022-12-11 02:33:03 +03:00
Robert Hensing
29c1d1dfb9
fix: flake-parts: mask non renderable default in dream2nix.config
2022-12-10 23:48:40 +01:00