[Nix-dev] freezing current version of a package

Eelco Dolstra eelco.dolstra at logicblox.com
Sat Sep 15 18:45:26 CEST 2012


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/


More information about the nix-dev mailing list