On 18/03/2015 12:37, Thomas Hunger wrote:
> Thanks.
>
> That would require having the shell.nix library locally already
> AFAICT. To rephrase slightly. Ideally I'd like to be able to do:
>
> myLibrary = fetchurl { ... };
> extraDepends = import "${myLibrary}/depends.nix";
> buildDepends = [ ... ] ++ extraDepends;
>
> Does that make sense?
I understand that, but I think the best fit of nix usage is having all
the nix expressions in the same repository, instead of spreading nix
files on every repository. That is, what's nixpkgs is doing.

So I would create a repo of all nix files, which fetch sources from your
other repos.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to