[Nix-dev] "nix-env --set-flag priority NUMBER PKGNAME" not working?
Bjørn Forsman
bjorn.forsman at gmail.com
Mon Dec 16 21:32:56 CET 2013
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
More information about the nix-dev
mailing list