[Nix-dev] Using Nix for installing local projects

Alexander Foremny alexanderforemny at googlemail.com
Wed Jun 27 16:51:38 CEST 2012


Thanks for the detailed information! However, it appears as if the
simplest approach to this is not possible in NixOS, just installing a
local Nix expression. Is there a grave reason for this?

I am creating an executable which directly depends on hoauth and
hoauth isn't required by any other package I have installed. However,
this is quite a special case and a more general setting should be
taken into account of course for a solution. So I can agree with

library > hoauth > library' > executable.

Regarding 1) Thanks! I didn't know about sdist. This might be of help
but isn't really what I want since I don't want to publish the sources
(or have them sitting around on my system somewhere). However, since
sdist really isn't that much of work it might be an option.

Regarding 2) I don't know much about overrides. Waiting for an
additional response then.

Regarding 3) I am somehow reluctant to differ to much from official
NixOS. I cannot really tell why. Probably because Nixpkgs works for me
in so many situations and I'd like it better if corner cases such as
this could be handled by the vanilla distribution.

Regards,
Alexander Foremny

PS. I accidentally responded to Marc's message directly. Here's a copy
to the list and to Marc: sorry for the noise.


More information about the nix-dev mailing list