Commit Graph

739 Commits

Author SHA1 Message Date
Yusuf Bera Ertan
35d8e4cce1
fix: use user set translator if the discoverer didn't set any translators 2022-08-26 13:05:13 +03:00
Yusuf Bera Ertan
2c7b658174
fix: use user set translator only if project supports that translator 2022-08-26 12:56:52 +03:00
DavHau
0131c22c36 fix: simpleTranslate2: don't compute cyclic deps if deps on empty dep graph 2022-08-25 14:16:11 +02:00
DavHau
0b593874d9
Merge pull request #267 from nix-community/ci
chore: CI performance improvements
2022-08-25 13:25:33 +02:00
DavHau
aeaf598afd chore: CI performance improvements
- run more jobs in parallel for `example` and `integration` tests
- use cachitx for unit tests
2022-08-24 13:14:07 +02:00
DavHau
da45122814
Merge pull request #212 from a-kenji/init/debian-binary-builder
init: debian-binary builder
2022-08-24 13:08:46 +02:00
DavHau
31328b1719 refactor: debian-binary: cleanup and add more comments 2022-08-24 12:55:29 +02:00
DavHau
35921b71d5 fix: debian-binary: remove dep-spec file and discover function
- dep-spec is not needed anymore since project can be specified without a source code
- therefore there is nothing to discover anymore as well
2022-08-24 12:26:57 +02:00
Yusuf Bera Ertan
129708ebd0
fix(rust): improve Cargo.lock generation, fix an issue with the gener… (#263) 2022-08-23 20:59:37 +00:00
DavHau
6a688b9604
Merge pull request #258 from tinybeachthor/php-translator-composer-lock
php: add translator `composer-lock`
2022-08-23 15:00:53 +02:00
Martin Toman
a133520a08 php: handle dev dependencies (+ noDev flag) 2022-08-21 16:21:29 -07:00
DavHau
07adf31005 fix: debian-binary: cleanup and fit to new writePureShellScript 2022-08-20 19:04:46 +02:00
DavHau
c492204d37 refactor: debian translator without source 2022-08-20 18:38:01 +02:00
a-kenji
170bd08838 add: check for existing directories and lib64 2022-08-20 18:38:01 +02:00
a-kenji
989391af45 add: unpack all libs correctly
* unpack all libs correctly
* move some apt logic to `generate_dream_lock`
* filter out debians own `glibc` -> might be a pain point in the future!
2022-08-20 18:38:01 +02:00
a-kenji
55239870c1 add: skip install phase
* skip the install Phase
* allow failing of the autoPatchelfHook
2022-08-20 18:38:01 +02:00
a-kenji
fc48e13a42 fix(translator): debian-binary use correct sha format 2022-08-20 18:38:01 +02:00
a-kenji
d05e8b5dba init(builder): debian-binary builder
This initializes first efforts to generate a debian builder.
2022-08-20 18:38:01 +02:00
a-kenji
74e91fbaee fixup! remove deb-uris test file 2022-08-20 18:38:01 +02:00
a-kenji
b9ccf21545 Generate a dream_lock_file from the apt output 2022-08-20 18:38:01 +02:00
a-kenji
17dd96f40e fixup! remove flake.lock from examples 2022-08-20 18:38:01 +02:00
a-kenji
1fc7672423 init: impure debian translator
Initialize an impure translator from debian binaries.
2022-08-20 18:38:01 +02:00
DavHau
f347034b2b refactor: writePureShellScript: don't change to WORKDIR
Reverting a bad design choice.
This lead to weird effects if scripts are nested.
2022-08-20 18:37:08 +02:00
DavHau
027083be7d chore: print execution times for integration tests 2022-08-20 18:32:48 +02:00
DavHau
479dc304b5
Merge pull request #259 from nix-community/project-no-source
feat: allow passing project without source
2022-08-20 15:24:45 +02:00
DavHau
015aef0e9f feat: allow passing project without source 2022-08-20 14:46:09 +02:00
Martin Toman
8e7af28ff0 fix: php: split out satisfiesSemver to utils 2022-08-19 15:03:38 -07:00
Martin Toman
4f0a15768b php: composer-lock pass phpExtensions 2022-08-19 15:02:58 -07:00
Martin Toman
c05de8dee4 php: composer-lock translator pass phpSemver 2022-08-19 14:19:20 -07:00
Martin Toman
1988b85f65 cleanup: php: composer-lock translator 2022-08-19 13:19:52 -07:00
Martin Toman
e812cf1aff php: composer-lock translator resolve pins 2022-08-19 13:18:20 -07:00
DavHau
62176e36d4 refactor: /src/default.nix 2022-08-19 12:35:12 +02:00
DavHau
71f29a7e09 chore: add template for initializing new modules 2022-08-19 12:31:51 +02:00
Martin Toman
ae32bcb2c6 php: translator composer-lock export package 2022-08-18 12:41:40 -07:00
DavHau
6d4f103b84
Merge pull request #248 from tinybeachthor/integration-tests
test: add integration tests
2022-08-18 11:37:25 +02:00
DavHau
b9b6f96183
Merge pull request #256 from tinybeachthor/docs-subsystem-nodejs
docs: add nodejs subsystems page
2022-08-18 11:36:14 +02:00
Martin Toman
810586300f php: init translator composer-lock 2022-08-17 15:08:31 -07:00
Martin Toman
3aa9927b0d ci: enable cachix for integration-tests 2022-08-17 13:30:04 -07:00
Martin Toman
5893814164 docs: add nodejs to subsystems 2022-08-17 13:25:39 -07:00
DavHau
a037fd0ea3
Merge pull request #255 from Fresheyeball/patch-1
Acknowledge Platonic.Systems
2022-08-17 22:12:42 +02:00
Martin Toman
dd889bc4f7 test: add descriptions for integration tests 2022-08-17 12:44:59 -07:00
Isaac Shapira
1692d0e3be
Update README.md 2022-08-16 16:46:19 -06:00
DavHau
9debe72065 refactor: re-order options in interface-translator.nix 2022-08-16 13:52:17 +02:00
DavHau
d676f095e6
Merge pull request #249 from nix-community/translator-modules
Initialize nixos module system. (translators only)
2022-08-16 11:43:28 +02:00
DavHau
31bf12de30 fix: wrong arguments passed to default-fetcher.nix 2022-08-16 11:07:17 +02:00
DavHau
d2b389de98 fix: callPackageDream args overwritten py pkgs 2022-08-16 10:59:31 +02:00
Yusuf Bera Ertan
07547c2284 fix(rust): don't replace path deps if they are already in source 2022-08-16 06:39:52 +00:00
DavHau
e654ffaa10 feat: module system improvements
- add documentation to the subsystem-loading interface
- expose evaled modules publicly via `framework`
- add option config.modules to allow users to include their own modules
- update examples for extending dream2nix
2022-08-15 15:34:24 +02:00
DavHau
debe2e9152 refactor: modules: add comments to /src/default.nix 2022-08-15 13:37:55 +02:00
DavHau
4b33d2f655 feat: modules: refactor to flat structure 2022-08-15 13:37:55 +02:00