[Nix-dev] Re: Integrating a Nix expression into the set of packages

Michael Raskin 7c6f434c at mail.ru
Tue Oct 16 18:11:40 CEST 2007


Ludovic Courtès wrote:
>> I just added to configuration.nix (import /path/to/expression pkgs) - in
>> extraPackages.
> 
> OK.
> 
> My question was: could I publish such a Nix expression, yet have it
> benefit from (and refer to) packages from `all-packages.nix'?
Anyone will be able to add it to configuration.nix this way. You can
also import /etc/nixos/nixpkgs/pkgs/top-level/all-packages.nix and pass
__currentSystem (or check what is done in nixos/system/system.nix ) to it.

Maybe you should think of submitting a few packages tailored for usage
of your choice and then you'll probably get access at least for the
packages to be finally committed into all-packages.nix ...



More information about the nix-dev mailing list