Open gepbird opened 1 year ago
I cannot reproduce with this:
# flake.nix
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }: {
nixosConfigurations.config = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{
# needed to satisfy assertions
imports = [ /etc/nixos/hardware-configuration.nix ];
boot.loader.grub.devices = [ "/again/just/so/it/doesnt/error/out" ];
environment.systemPackages =
with nixpkgs.legacyPackages."x86_64-linux"; [ xmlformat flutter ];
}
];
};
};
}
nixos-rebuild build --flake ./flake.nix#config --impure -v
Please post the relevant part of your config.
@gilice Looks like this bug only occurs when these packages are defined with home-manager:
home-manager.users.myuser.home.packages = with pkgs; [
flutter
xmlformat
];
Can replicate now. Home-Manager throws an error instead of a warning on collisions.
Also happens with flutter
dart
.
So now there is two questions:
bin
, lib
, etc?)Small progress update:
ignoreCollisions = true
.$out/share/doc/<package name>/
There are (at least) 14 other packages suffering from this type of issue:
I'm not planning to fix any of these, since I'd rather not break packages I don't use, anyone feel free to contribute :)
yubioath-flutter
is also affected.
rustdesk-flutter is also affected.
localsend is also affected.
Describe the bug
When installing both xmlformat and flutter, I get a warning about a colliding LICENSE file.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
No warnings/errors
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Error line:
Notify maintainers
xmlformat: @grahamc flutter: @gilice @lukegb
Metadata