DavHau
d19ec4932b
fix --no-default-nix description
2022-02-23 12:11:25 +07:00
DavHau
a40142359a
Merge pull request #90 from nix-community/impure-via-flakes
...
Support impure translation via flakes (no more CLI)
2022-02-22 21:17:54 +07:00
DavHau
195d0a7e03
fix bug when translatorArgs contained integer
2022-02-22 21:00:40 +07:00
DavHau
a1449936ff
fix projectRoot config missing
2022-02-22 20:24:53 +07:00
DavHau
767db79095
raname: riseAndShine -> make[Flake]Outputs
2022-02-22 20:21:33 +07:00
DavHau
d8300cb909
Always build from dream-lock.json if exists
...
- add an invalidationHash to dream-lock.json
- always evaluate dream-lock.json if exists
- warn user if dream-lock.json doesn't exist
2022-02-22 18:23:49 +07:00
DavHau
ba967fcbe0
remove (most) interactivity of CLI
2022-02-22 15:10:01 +07:00
DavHau
2772c26105
integrate impure translation with flakes
...
Now if dream2nix is used via flakes and impure translation is required, the user will be isntructed to `nix run ...` something to generate the missing dream-lock.
2022-02-22 15:04:16 +07:00
DavHau
24c42d3eb3
fix flake.nix lib initialization
2022-02-22 15:00:32 +07:00
DavHau
96b832d545
Merge pull request #88 from yusdacra/rust/improvements
...
fix(rust): some rust builder improvements
2022-02-20 17:31:53 +07:00
Yusuf Bera Ertan
129134fcd3
fix(rust): don't vendor path deps, handle git dep configs more correctly, handle cyclic deps correctly
2022-02-20 12:16:09 +03:00
DavHau
25c5d26596
fix URL to overrides in docs
2022-02-18 15:14:01 +07:00
DavHau
3d66429c69
remove mentions of generic
in readme
...
(frameworks are generic by default)
2022-02-14 13:19:38 +07:00
DavHau
68faa2378c
Merge pull request #82 from yusdacra/rust/write-checksum-path-deps
...
fix(rust): write cargo checksum for path dependencies
2022-02-11 15:31:04 +07:00
Yusuf Bera Ertan
947fb621a8
fix(rust): write cargo checksum for path dependencies
2022-02-10 20:30:26 +03:00
DavHau
2167b7e993
fix bug in rust packages structure
2022-02-10 12:47:58 +07:00
DavHau
8e13d69b4a
Merge pull request #80 from nix-community/dream-lock-packages
...
dream-lock: support multiple top-level packages
2022-02-10 12:04:54 +07:00
DavHau
04901e48d2
update dream-lock.example for rust subsystem
2022-02-10 11:44:50 +07:00
DavHau
4f35c7b633
rust translator/builder to use dream-lock packages
2022-02-10 11:43:14 +07:00
DavHau
f634038bbf
WIP - adapt code to dream lock changes
2022-02-10 11:43:14 +07:00
DavHau
28c29947cd
dream-lock structure changes
...
remove fields:
- translator
- translatedBy
- mainPackageName
- mainPackageVersion
add fields:
- defaultPackage
- packages
2022-02-10 11:43:14 +07:00
DavHau
ea3d1a2ac1
simplify example flake.nix
...
fixes a bug where a source tree input was interpreted as a laoded dream-lock
2022-02-09 15:13:49 +07:00
DavHau
e65605e3e3
add example flake.nix to readme
2022-02-09 10:17:51 +07:00
DavHau
d7974d45f7
fix translator test for package-json
2022-02-08 17:54:10 +07:00
DavHau
49416753cf
Merge pull request #79 from raboof/patch-2
...
typo: tanslator -> translator
2022-02-04 22:43:55 +07:00
DavHau
c3abd4aca2
Merge pull request #78 from raboof/patch-1
...
typo compsition -> composition
2022-02-04 22:43:36 +07:00
Arnout Engelen
6427775e87
typo: tanslator -> translator
2022-02-04 16:38:14 +01:00
Arnout Engelen
dad2395b01
typo compsition -> composition
2022-02-04 16:29:21 +01:00
DavHau
57c7f5b948
Merge branch 'main' of github.com:DavHau/dream2nix
2022-02-04 19:16:01 +07:00
DavHau
817f4d3ba0
package-json transl.: add arg 'npmArgs'
2022-02-04 13:40:56 +07:00
DavHau
a23bc67726
Merge pull request #77 from DieracDelta/patch-1
...
Add darwin to architecture list
2022-01-30 23:08:07 +07:00
Justin Restivo
8a574bd152
Add darwin to architecture list
2022-01-29 16:45:36 -05:00
DavHau
dcdf2f27df
Merge pull request #67 from yusdacra/fix/build-rust-package
...
fix(rust): handle git source vendoring properly
2022-01-16 16:26:48 +01:00
Yusuf Bera Ertan
405e63e941
feat: throw an error in getSourceSpec if the requested dep doesnt exist
2022-01-16 13:00:53 +03:00
Yusuf Bera Ertan
2477a55fbb
fix(rust): put relative paths instead of store paths in lockfile for path deps
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
e8c4baf602
feat(rust): use script instead of nix code to find crate paths
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
3c6af2acbf
feat(rust): remove git deps from subsystem attrs, use getSourceSpec instead
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
c9ea0f7c13
feat: add getSourceSpec
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
1d8fc17b93
feat(rust): extend the dream.lock.example.json for the subsystem
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
5d18abcdab
fix(rust): write cargo-checksum for vendored git dependencies
...
fix(rust): copy sources instead of symlinking so we can write cargo checksum
feat(rust): add trace for is git
feat(rust): add trace for is git
feat(rust): add trace for git deps
feat(rust): add trace for git deps
fix(rust): use findFirst not findSingle for finding git dep
fix(rust): remove is git trace
refactor(rust): remove unused code
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
901f8a4fc8
fix(rust): pass git dependency parsed information to builders, generate cargo config for git dependencies
...
fix(rust): fix infinite recursion caused by same name
fix(rust): split gitDeps, generate vendor entries properly
fix(rust): fix infinite recursion in builder
fix(rust): apply git source type to generated vendor entries after applying replace-with
fix(rust): don't overwrite cargo config with generated entries
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
e5e88a03b5
feat(rust): workaround git dependencies that are in a workspace by locating the crate source more accurately
...
fix(rust): copy over findCratePath to builder
fix(rust): correct getAllFiles usage
2022-01-16 12:56:54 +03:00
Yusuf Bera Ertan
f380a81016
fix(rust): dont use src.name
...
feat(rust): add trace to builder
2022-01-16 12:56:54 +03:00
DavHau
faa9084cde
Merge pull request #74 from max-privatevoid/yarn-lock-empty-quoted-strings
...
yarn-lock: allow empty quoted strings
2022-01-14 00:20:20 +01:00
Max
2132262d5c
yarn-lock: allow empty quoted strings
2022-01-13 19:34:36 +01:00
DavHau
03f418ac80
Merge pull request #72 from tomberek/parse_latest
...
Parse unquoted strings in yarn.lock
2022-01-10 17:09:56 +01:00
Tom Bereknyei
d2143bb96d
Parse unquoted strings in yarn.lock
...
Sometimes there will be unquoted strings (eg: latest) in dependecy
positions. They are resolved elsewhere but results in a parse error.
2022-01-10 11:03:52 -05:00
DavHau
7c750a7438
Merge pull request #70 from Lassulus/strapi-override
...
add override for strapi
2022-01-06 00:05:43 +01:00
DavHau
99af8cd6eb
Merge pull request #71 from nix-community/electron
...
nodejs/electron: add 15.3.4
2022-01-06 00:05:31 +01:00
Jörg Thalheim
b9d66d4d86
nodejs/electron: add 15.3.4
2022-01-05 21:36:49 +01:00