Commit Graph

927 Commits

Author SHA1 Message Date
Yusuf Bera Ertan
71fec85f83
refactor: make combined and default fetcher top-level functions 2022-10-06 14:12:14 +03:00
Yusuf Bera Ertan
0d56a0f089
tests: fix _d2n-extended test again 2022-10-04 18:11:10 +03:00
Yusuf Bera Ertan
80ec66e77a
tests: fix _d2n-extended test 2022-10-04 16:50:42 +03:00
Yusuf Bera Ertan
05580350a8
fix: check for path type instead of package 2022-10-04 16:07:58 +03:00
Yusuf Bera Ertan
e2fb6b04f4
fix: add more options 2022-10-04 15:56:23 +03:00
Yusuf Bera Ertan
5d8fd5e82d
fix: actually load fetcher.outputs 2022-10-04 15:46:54 +03:00
Yusuf Bera Ertan
b383b65ab7
fix: use correct attr path for fetchers 2022-10-04 15:46:54 +03:00
Yusuf Bera Ertan
35ebae4ff0
fix: use rec in attrset to make attributes available 2022-10-04 15:46:53 +03:00
Yusuf Bera Ertan
45ef7ff141
fix: put fetcher functions under the correct option path 2022-10-04 15:46:53 +03:00
Yusuf Bera Ertan
b4a93ebbae
feat: make fetchers use modules 2022-10-04 15:46:53 +03:00
Yusuf Bera Ertan
785b768942
fix: hardcode subsystem in racket discoverer 2022-10-04 14:16:33 +03:00
DavHau
a5bf4443bb
Merge pull request #317 from leungbk/racket-impure
Racket: add impure translator and simple builder
2022-10-04 12:42:17 +02:00
DavHau
f992f9d51c
Merge pull request #319 from fufexan/electron
nodejs/electron: add 21.0.1
2022-10-04 12:30:16 +02:00
DavHau
e61b37e746
Merge pull request #314 from tinybeachthor/speed-up-indexers
Speed up indexers
2022-10-04 12:29:52 +02:00
DavHau
94e96d03a2
Merge pull request #308 from nix-community/feat/modules-discoverers
feat: make discoverers use modules
2022-10-04 12:28:28 +02:00
Mihai Fufezan
26761599de
nodejs/electron: add 21.0.1 2022-10-04 00:01:53 +03:00
Martin Toman
3063603091 Do not check relPath in replaceRootSources 2022-10-03 11:28:14 -07:00
Yusuf Bera Ertan
7f0fc889fe
refactor: reorganize discoverer modules 2022-10-03 15:19:22 +03:00
Yusuf Bera Ertan
11cde51ab4
refactor: remove unused arguments 2022-10-03 15:19:22 +03:00
Yusuf Bera Ertan
73e575078e
fix: specify subsystems in discoverers 2022-10-03 15:19:21 +03:00
Yusuf Bera Ertan
13fd0fa908
fix: use default discoverer properly 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
fad33143f9
fix: use modules from makeFlakeOutputs, pass dream2nixConfig to modules specialArgs 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
74128bba5d
fix: remove extra usage from _d2n-extended-new-subsystem 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
6871e9e560
fix: fix extended examples 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
f1c89df1d9
fix: turn discoverers attrset to list 2022-10-03 15:18:27 +03:00
Yusuf Bera Ertan
088fde510c
feat: make discoverers use modules 2022-10-03 15:18:27 +03:00
Brian Leung
c849f31434
Add simple Racket builder 2022-10-02 02:01:52 -07:00
Brian Leung
c17d995e8d
Add impure Racket translator 2022-10-01 23:33:23 -07:00
Brian Leung
a6502bd52e
Add Racket discoverer 2022-10-01 22:57:22 -07:00
DavHau
730d42598e
Merge pull request #315 from tinybeachthor/cleanup
Cleanup
2022-10-01 22:52:19 +02:00
Martin Toman
a7bab6d0a3 Use replaceRootSources in indexers (was callNixWithD2N) 2022-10-01 13:29:43 -07:00
Martin Toman
10b79208b9 Add replaceRootSources app 2022-10-01 13:29:43 -07:00
Martin Toman
d15d931bf9 {utils -> lib.strings}.sanitizeDerivationName 2022-10-01 13:28:56 -07:00
Martin Toman
6c82d99b79 fix: pure translator template, project is not list 2022-10-01 13:28:56 -07:00
Martin Toman
956fb6e8be defaultPackage -> packages.default 2022-10-01 13:28:56 -07:00
Martin Toman
49b299ce80 nodejs: discoverer read files from tree 2022-10-01 13:28:56 -07:00
Martin Toman
544c22bdbf Fix spelling 2022-10-01 13:28:56 -07:00
DavHau
ea3bb39310
Merge pull request #300 from tinybeachthor/php-indexer
php: indexer + fixes
2022-10-01 18:40:24 +02:00
DavHau
5e54aba141
Merge pull request #309 from nix-community/haskell
Haskell: add translator for hackage + other improvements
2022-09-28 17:54:17 +02:00
DavHau
7dadb4ad15 indexers: fix some bugs in python scripts 2022-09-28 16:52:56 +02:00
DavHau
ea171172d1 haskell: add cabal file hashes to dream-lock 2022-09-28 16:52:56 +02:00
DavHau
2f7f3c1289 haskell: add translator hackage 2022-09-28 16:52:56 +02:00
Martin Toman
ff264cb9c1 php: install dependencies with --no-dev 2022-09-27 14:38:59 -07:00
Martin Toman
50f7682dae php: add overrides 2022-09-27 12:57:22 -07:00
Martin Toman
6181050f32 php: split build into phases (easier to override) 2022-09-27 12:57:22 -07:00
Martin Toman
a7ca27492c php: do not pull git submodules
when composer is installing from source it ignores
git submodules, do the same
2022-09-27 12:57:22 -07:00
Martin Toman
5363f36f82 Allow disabling submodules for git fetcher 2022-09-27 12:57:22 -07:00
Martin Toman
039886bb7a php: disable patches
no network access in the pure builder,
patches will have to be handled as overrides probably
2022-09-27 12:57:22 -07:00
Martin Toman
c523f2c17e fix: php: set package name
package name and composer.json#name can be different
(mostly happens in private repositories)
set the composer.json#name to the package name
before including the package in other one
2022-09-27 12:57:22 -07:00
Martin Toman
c2c61b82b1 fix: php: invalid authors + overrides 2022-09-27 12:57:20 -07:00