diff options
| author | Luflosi <luflosi@luflosi.de> | 2024-09-23 17:19:49 +0200 |
|---|---|---|
| committer | Luflosi <luflosi@luflosi.de> | 2024-09-23 17:59:26 +0200 |
| commit | d979b453719ffe65a8059b574623b4431188b4d6 (patch) | |
| tree | 9f20428a3a26c031668c3d46b7bd7a9062154b70 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 9b9ca77050e3cff7a6c6b1210d3f1a3b5488070b (diff) | |
nixos/iso-image: avoid collision between GRUB2 versions
4b836fb680116ad5fa85ea2bb43ffeff3be4ec53 added `pkgs.grub2_efi` to `environment.systemPackages` so that it would be in the Nix store and available for install. But `pkgs.grub2` is already in the list. This causes the various paths of the two GRUB2 versions to collide. To fix this, put `pkgs.grub2_efi` into `system.extraDependencies` instead. This should achieve the same effect of adding the second GRUB2 version to the Nix store without the paths colliding in the environment.
To reproduce the problem, execute `nix-build nixos -I nixos-config=nixos/modules/installer/cd-dvd/iso-image.nix -A config.system.build.isoImage` and look for messages like
```
warning: collision between `/nix/store/9jk1p9n5dl431lcm4w9p6x6x8a00dm0q-grub-2.12/bin/grub-install' and `/nix/store/809l0i6aydg4zhn3kqf723brjyp2qm8h-grub-2.12/bin/grub-install'
```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
