Skip to content

Collision of mimeinfo.cache #48295

@bobvanderlinden

Description

@bobvanderlinden

Issue description

Whenever I try to install both baobab and gnome3.file-roller I get a collision error because both derivations contain /share/applications/mimeinfo.cache:

collision between `/nix/store/khvh78ia5b60ify3xl3v5i1dqq05qj7b-file-roller-3.28.1/share/applications/mimeinfo.cache' and `/nix/store/i4xhrpbsqk3hmwn8p16yf
zvrilqn0amd-baobab-3.28.0/share/applications/mimeinfo.cache'

Do mimeinfo.cache files need to be in the packages?

Steps to reproduce

The same problem can be reproduced by building a environment where both baobab and gnome3.file-roller are in:

nix build '(with (import <nixpkgs> {}); (buildEnv { name = "example"; paths = [ baobab gnome3.file-roller ];
 }))'
builder for '/nix/store/c1dr7r7sy00972lxrz7qazd79wy9hh1c-koek.drv' failed with exit code 25; last 1 log lines:
  collision between `/nix/store/khvh78ia5b60ify3xl3v5i1dqq05qj7b-file-roller-3.28.1/share/applications/mimeinfo.cache' and `/nix/store/i4xhrpbsqk3hmwn8p16yf
zvrilqn0amd-baobab-3.28.0/share/applications/mimeinfo.cache'

Technical details

 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.67, NixOS, 18.09.821.4dd9cd3f69e (Jellyfish)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.1pre6377_954d1f4d`
 - channels(bob): `"nixos-18.09.821.4dd9cd3f69e"`
 - channels(root): `"nixos-18.09.821.4dd9cd3f69e"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions