Skip to content

setting isoImage.grubTheme to null no longer works #156753

@disassembler

Description

@disassembler

Describe the bug

If you set isoImage.grubTheme to null, it fails to build an ISO.

Steps To Reproduce

create a basic configuration.nix for an installer with isoImage.grubTheme set to null

error: cannot coerce null to a string

       at /nix/store/ha4ld6wd29q1igjmhjdvkvbxpxxxxbxf-source/nixos/modules/installer/cd-dvd/iso-image.nix:255:5:

          254|     strictDeps = true;
          255|   } ''
             |     ^
          256|     mkdir -p $out/EFI/boot/

       … while evaluating the attribute 'buildCommand' of the derivation 'efi-directory'

Expected behavior

Builds image not using theme and embedding spashImage specifried

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions