[Nix-dev] confused by the recent channels stuff

Mathijs Kwik mathijs at bluescreen303.nl
Mon Apr 23 09:03:04 CEST 2012


On Mon, Apr 23, 2012 at 9:00 AM, Mathijs Kwik <mathijs at bluescreen303.nl> wrote:
> On Mon, Apr 23, 2012 at 2:52 AM, Eelco Dolstra
> <eelco.dolstra at logicblox.com> wrote:
>> Hi,
>>
>> On 22/04/12 11:03, Mathijs Kwik wrote:
>>
>>> However, I have some local packages in my /etc/nixos/nixpkgs, and they
>>> are not available anymore.
>>> So I guess channels are not for people who want to have some local
>>> modifications.
>>> Does this mean we need to setup the old nixpkgs_sys symlink manually
>>> after a new installation?
>>
>> You can do that, or pass "-f /path/to/my/nixpkgs" to nix-env.
>
> And how will this work for nixos-rebuild? It doesn't know -f

To answer myself: it has  -I
>
>>
>>> And what does this mean for binary updates? Are they only available
>>> through the channel from now on?
>>
>> It's the same as it's always been: if the path you're building is available in a
>> subscribed channel, you get binaries, otherwise it's built from source.  So it
>> depends on how much your source tree differs from the sources in the channel.
>>
>> --
>> Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list