This website requires JavaScript.
Explore
Help
Sign In
nix-community
/
dream2nix
Watch
1
Star
1
Fork
0
You've already forked dream2nix
mirror of
https://github.com/nix-community/dream2nix.git
synced
2024-11-23 00:13:02 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
39d0aca7a0
dream2nix
/
.gitignore
8 lines
81 B
Plaintext
Raw
Normal View
History
Unescape
Escape
implement UI and examples: - generic translator CLI exposed as flake app - flake app 'install' to install the framework - generic fetcher - simple translator for python - simple builer for python
2021-09-10 00:42:56 +03:00
.*/
add github actions
2021-11-17 08:12:49 +03:00
!.github/
formatting: add flake apps + prepare hooks
2022-03-07 09:57:22 +03:00
/.pre-commit-config.yaml
implement UI and examples: - generic translator CLI exposed as flake app - flake app 'install' to install the framework - generic fetcher - simple translator for python - simple builer for python
2021-09-10 00:42:56 +03:00
result
add: `update` cli app for automatic package update
2021-10-18 20:22:37 +03:00
interpreter
fix: improve handling of local python dependencies The pip locker [sometimes created a URL without hash][1] to reflect that there was a local source. This produced the following error when trying to evaluate that derivation: … from call site at /nix/store/qdzdi6qvrqxfqxhi3j70d5dsl9f5jpby-source/modules/dream2nix/pip/default.nix:86:28: 85| mkDerivation = { 86| src = l.mkDefault (fetchers.${metadata.sources.${config.name}.type} metadata.sources.${config.name}); | ^ 87| doCheck = l.mkDefault false; … while calling 'url' at /nix/store/qdzdi6qvrqxfqxhi3j70d5dsl9f5jpby-source/modules/dream2nix/pip/default.nix:57:11: 56| fetchers = { 57| url = info: l.fetchurl {inherit (info) url sha256;}; | ^ 58| git = info: config.deps.fetchgit {inherit (info) url sha256 rev;}; error: value is null while a string was expected Of course, one cannot call `builtins.fetchurl` without a `sha256` argument. Now, local dependencies are specified exactly like that in the lock file. Now, we'll fetch nothing when dealing with local dependencies. Also, their evaluation when generating `preFixup` attribute is delayed until build time. This was a bigger problem due to the previous bug, but in any case it should still help to reduce evaluation overhead. FWIW, sometimes local sources might not really exit in the derivation source tree until build time. For example, when building aggregated sources with meta-repo management tools such as Mr. Chef. [1]: https://github.com/nix-community/dream2nix/blob/40b65e4598e249af6cc285259c1c0afefbb0f420/pkgs/fetchPipMetadata/src/fetch_pip_metadata/lock_file_from_report.py#L72C28-L72C28
2023-09-18 14:03:46 +03:00
__pycache__
*.egg-info
Reference in New Issue
Copy Permalink