Commit Graph

73 Commits

Author SHA1 Message Date
DavHau
a0c0260c14 chore: reduce packages built by .#tests-examples 2022-11-15 00:13:25 +01:00
DavHau
1eec3ec74f feat: add example for defining projects manually 2022-11-13 16:00:32 +01:00
Yusuf Bera Ertan
6f840b11f1
fix: rename checks in examples 2022-11-13 14:19:46 +03:00
Yusuf Bera Ertan
37c71736a7
refactor: change some examples sources to make them take less time on CI 2022-11-13 14:11:56 +03:00
DavHau
86d6c6a42e fix example for overriding devShell 2022-11-12 10:03:45 +01:00
Yusuf Bera Ertan
ccde7c928b
fix: correct example dream2nix input url 2022-11-12 01:04:07 +03:00
Yusuf Bera Ertan
19933dbcf0
refactor(flake-parts): make outputs option more consistent, use mkMerge for merging, default projectRoot to self 2022-11-12 01:01:19 +03:00
Yusuf Bera Ertan
759b662e02
refactor(flake-parts): use perSystem for defining inputs, drop makeFlakeOutputs usage 2022-11-11 22:36:13 +03:00
DavHau
ffcdcff326 change example to fix #352 2022-11-08 22:16:08 +01:00
DavHau
2c836a8bbb
Merge pull request #336 from leungbk/cabal-freeze-tweaks
cabal-freeze improvements
2022-11-08 21:33:57 +01:00
Yusuf Bera Ertan
cc3020a32f
refactor: change projects -> inputs, make option description more explanatory 2022-10-31 22:26:03 +03:00
Yusuf Bera Ertan
5fd403b090
feat: define projects via attrset, rename flakePartsModule to flakeModule 2022-10-29 03:57:38 +03:00
Yusuf Bera Ertan
f15d2efa0b
feat: add outputs attributes for accessing raw dream2nix outputs, showcase overriding package in example 2022-10-29 02:40:57 +03:00
Yusuf Bera Ertan
773d8bac43
feat: add a flake-parts module 2022-10-29 00:51:52 +03:00
DavHau
a20bb9ced1 add example for devShell via dlib.mergeFlakes 2022-10-28 22:36:14 +02:00
Bill Ewanick
38ce98e281 Add example of overriding devShells to prettier flake 2022-10-28 21:39:47 +02:00
Brian Leung
2d78731477
translators/cabal-freeze: Read name and version from cabal file
Also remove those fields from extraArgs.
2022-10-22 02:25:39 -07:00
Brian Leung
68c23526e5
translators/cabal-freeze: add example flake 2022-10-17 04:29:06 -07:00
DavHau
26e4adffcc Merge remote-tracking branch 'origin/main' into indexers 2022-10-15 00:21:18 +02:00
DavHau
bd9173e14a fix: example for indexers 2022-10-14 00:40:36 +02:00
Yusuf Bera Ertan
0bac3a3476
tests: attemp to fix _d2n-extended 2022-10-06 22:48:12 +03:00
Yusuf Bera Ertan
14a56a8d43
tests: fix _d2n-extended-new-subsystem 2022-10-06 22:24:07 +03:00
Yusuf Bera Ertan
55db7931ce
tests: fix unit tests, fix extended examples 2022-10-06 20:53:59 +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
b4a93ebbae
feat: make fetchers use modules 2022-10-04 15:46:53 +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
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
Brian Leung
c17d995e8d
Add impure Racket translator 2022-10-01 23:33:23 -07:00
Yusuf Bera Ertan
15b8621648
tests: fix _d2n-extended test 2022-09-25 22:54:05 +03:00
Yusuf Bera Ertan
7432b27e13
tests: fix new-subsystem test 2022-09-25 21:01:43 +03:00
DavHau
152d921a30 Merge branch 'bezmuth/main' 2022-09-20 14:57:27 +02:00
DavHau
584e5a5fa1 fix: haskell: stack-lock: extract compiler from snapshot 2022-09-20 14:57:10 +02:00
Yusuf Bera Ertan
8d9756d47f
fix: change examples d2n input urls to github repo 2022-09-15 14:59:19 +03:00
Yusuf Bera Ertan
2ec675e394
feat: add license extraction for nodejs and rust 2022-09-13 21:02:43 +03:00
Martin Toman
f4ed1c9ec1 php: disable checks for composer example 2022-09-12 16:42:11 -07:00
DavHau
e77c129ad6 php: add example flake for building composer 2022-09-12 12:27:31 +02:00
DavHau
3caf3a8a67 fix: crates-io-simple indexer 2022-08-31 12:10:33 +02:00
DavHau
a6a963586c fix: crates-io indexer and makeOutputsForIndexers
- simplify API for makeFlakeOutputsForIndexers (see updated example)
- remove arguments `overrideOutputs` and `indexNames`
- add arguments `indexes`
- add app `ci-job-...` which is a script meant to be executed as a cron action, pushing updates to a separate `data` branch
2022-08-31 12:10:33 +02:00
DavHau
a09c59a7f7 feat: indexers: add tested example for indexers 2022-08-31 12:10:33 +02:00
bezmuth
e4ff799d3e Change compiler version formatting. 2022-08-25 19:38:56 +01: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
DavHau
c492204d37 refactor: debian translator without source 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
bezmuth
f5c39bfc18 Remove hardcoded ghc version. 2022-08-18 19:55:28 +01: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
7564d81e50 rafactor: rename rust example 2022-07-31 18:00:52 +02:00