[Nix-dev] "nix-env --set-flag priority NUMBER PKGNAME" not working?
Domen Kožar
domen at dev.si
Mon Dec 16 21:43:03 CET 2013
so it should throw an error when package is not installed?
On Mon, Dec 16, 2013 at 9:32 PM, Bjørn Forsman <bjorn.forsman at gmail.com>wrote:
> On 16 December 2013 21:15, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> > Hi all,
> >
> > I cannot get "nix-env --set-flag priority NUMBER PKGNAME" to work.
> > I've already installed "quassel" and when installing "quassel-client"
> [...]
> > Now set priority like the above printout suggests and retry:
> >
> > $ nix-env --set-flag priority 1 quassel-client
> > $ nix-env -i quassel-client
> > installing `quassel-client-0.9.2'
> > building path(s)
> `/nix/store/vvmhida83hw4kd6979gqrp05nnlz368v-user-environment'
> > collision between
> >
> `/nix/store/ck2ka99rbc17x6na5znpi8wpa6ryc5zb-quassel-client-0.9.2/share/apps/quassel/icons/oxygen/16x16/status/irc-channel-active.png'
> > and
> `/nix/store/c1f6czwdv0falg2wdcgplm2skg22jb82-quassel-0.9.2/share/apps/quassel/icons/oxygen/16x16/status/irc-channel-active.png';
> > use `nix-env --set-flag priority NUMBER PKGNAME' to change the
> > priority of one of the conflicting packages
> > builder for
> `/nix/store/bwqskb01y70hfhymprs101c47h56jily-user-environment.drv'
> > failed with exit code 255
> > error: build of
> > `/nix/store/bwqskb01y70hfhymprs101c47h56jily-user-environment.drv'
> > failed
>
> Ah, found it. nix-env --set-flag priority NUMBER PKNAME only works on
> *already installed* packages!
>
> This works:
> $ nix-env --set-flag priority 10 quassel
> $ nix-env -i quassel-client
>
> Best regards,
> Bjørn Forsman
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20131216/bb208299/attachment-0001.html
More information about the nix-dev
mailing list