[Nix-dev] Question RE adding a package to nixpkgs

Bjørn Forsman bjorn.forsman at gmail.com
Mon Dec 26 18:22:19 CET 2016


On Dec 26, 2016 16:16, "laverne" <lists-laverne at schrock.email> wrote:
>
> Hi,
>
> The steps for adding a package to nixpkgs and testing it (pulled from
here: http://nixos.org/nixpkgs/manual/#chap-quick-start) are:
>
> 1. Clone nixpkgs
> 2. Make your changes
> 3. Run nix-build -A foo from the root of the cloned repository
>
> My question is about step 3. Will the inputs for foo come from the
nixpkgs that my currently running system is running on, or will they come
from the nixpkgs that I have checked out?

The latter (your nixpkgs clone).

-Bjørn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161226/878b2e16/attachment.html>


More information about the nix-dev mailing list