Open Burtannia opened 1 month ago
Hey! Github flake inputs are equivalent to directories, so you should be able to simply use sem-log = source.root sem-log;
there (if the Cabal project is at the root, otherwise it's source.sub
).
Since sem-log
also uses hix
, you could even use a more convenient method:
{
outputs = {hix, sem-log, ...}: hix.lib.flake {
depsFull = [sem-log];
};
}
That will include the overrides defined in sem-log
's flake (also described in the docs, probably a bit too terse).
I should probably include a comprehensive example like this in the manual. Thanks for the feedback!
Actually, it would be best if it just worked the way you tried it, using sem-log = sem-log
– if the value is a path, it could default to source.root
!
Hey, I'm relatively new to nix and hix, I've been trying to include a library from GitHub but so far haven't managed to get it working.
I'd like to do something like the following:
I've read through the Hix documentation and couldn't find any reference to GitHub deps, only to
hackage
andsource
.