[Nix-dev] freezing current version of a package

Sergey Mironov ierton at gmail.com
Sat Sep 15 19:56:32 CEST 2012


Nixos is great!

2012/9/15 Eelco Dolstra <eelco.dolstra at logicblox.com>:
> Hi,
>
> On 15/09/12 12:43, Sergey Mironov wrote:
>
>> Hi. Common usecase:
>>
>> nix-channel --update nixos
>>
>> breaks some package which was installed via configuration.nix.
>> If I remove the package from configuration, system will update
>> successfully, but I really need this package right now. Is it possible
>> to somehow 'move' the package and it's deps to the per-user category
>> (aka nix-en v -i) instead of removing it completely?
>
> Yes, do "nix-env -i <store path of package>".
>
> --
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-de


More information about the nix-dev mailing list