Skip to content

Conversation

@LiGoldragon
Copy link

@LiGoldragon LiGoldragon commented Dec 19, 2024

Allows using a local manifest as dependency, with importAtom

# [email protected]
[atom]
id = "simple"
version = "0.1.0"

[local.local-lib]
path = "[email protected]"
# simple/mod.nix
{
  inherit (use.local-lib) simpleString;
}
# [email protected]
[atom]
id = "local-lib"
version = "0.1.0"
# local-lib/mod.nix
{
  SimpleString = "A simple string";
}

@nrdxp
Copy link
Owner

nrdxp commented Dec 21, 2024

the intended API for this basically boils down to generating a lock (with eka) and then consuming it on the Nix side according to some rules. Local dependencies are already implemented in the first draft:
#42

the manifest API is not currently stable, I have some wip code in eka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants