summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorPogobanane <aenderboy@gmx.de>2023-07-19 20:04:32 +0200
committerPogobanane <aenderboy@gmx.de>2023-07-19 20:04:57 +0200
commitd7740c24cb32a6dbeb1c4dab531f098d961c6dbc (patch)
treefa0b7a8bcf59ef7f4fe99652eed094fb350ff960 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentf912309722e0e94f8f29160b4161b93d487f10b9 (diff)
nixos/lib/make-disk-image: fix installBootLoader for disabled grub
This commit is a fixup for a regression introduced by 0bdba6c99bc6db6fd8ea15de3fa10a3c0563ef9f. Before the regression, it was possible to build images without grub or a kernel (e.g. to boot other kernels with qemu -kernel. After the regression, such images fail to build. Since config.boog.loader.grub.enable is false in that scenario, grub.device is emptystring. While this happens not to be an issue of `ln`, `dirname` fails on emptystring. With this change, we guard both commands to only be run when grub is actually enabled. Images with and without grub succesfully build with this change.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions