[Nix-dev] firefox^2

Eelco Visser visser at cs.uu.nl
Sun Dec 5 15:15:28 CET 2004


I'm trying to install the supercool firefoxWrapper, but get

collission between `/nix/store/b56b30441914b0153a7fec31bb1ea324-firefox-1.0/bin/firefox' and `/nix/store/e628719c1007d262d72e0663fbe17570-firefox-1.0/bin/firefox' at /nix/store/6e2664c4f003efef986d045bafcf95f2-builder.pl line 61.

which is correct as nix-env -qas tells me

-PS  firefox-1.0
-PS  firefox-1.0

I'm using a checkout of nixpkgs. From what I understand the problem is
caused by the following declarations in all-packages-generic.nix:

  firefox = (import ../applications/networking/browsers/firefox) {
    inherit fetchurl stdenv pkgconfig perl zip;
    inherit (gtkLibs) gtk;
    inherit (gnome) libIDL;
    inherit (xlibs) libXi;
  };

  firefoxWrapper = (import ../applications/networking/browsers/firefox-wrapper) {
    inherit stdenv firefox;
    plugins = [MPlayerPlugin flashplayer blackdown];
  };

which both define something named firefox-1.0. I've tried to comment the
firefox one, and include it directly in the definition of the Wrapper
without success. 

So, how am I supposed to disambiguate this using nix-env?

-- Eelco

------------------------------------------------------------------------
Eelco Visser            Institute of Information and Computing Sciences
mail:visser at cs.uu.nl    Universiteit Utrecht
  or:visser at acm.org     P.O. Box 80089, 3508 TB Utrecht, The Netherlands
http://www.cs.uu.nl/~visser/ Phone: +31-30-253 4592 Fax: +31-30-251 3791
------------------------------------------------------------------------





More information about the nix-dev mailing list