Skip to content

Rebuilding NixOS on Raspberry Pi 4 fails after commit 4014fb6 #155925

@superherointj

Description

@superherointj

Rebuilding NixOS on Raspberry Pi 4 fails after commit: 4014fb6 (PR #151082)

Errors as:

/nix/store/l3lj95gg3fx9amqcywv0qfsabs2nw4nj-raspberrypi-builder.sh: illegal option -- g
usage: /nix/store/l3lj95gg3fx9amqcywv0qfsabs2nw4nj-raspberrypi-builder.sh -c <path-to-default-configuration> [-d <boot-dir>]
warning: error(s) occurred while switching to the new configuration

My configuration.nix has:

boot.loader.raspberryPi = {
  enable = true;
  version = 4;
  firmwareConfig = ''
    dtparam=sd_poll_once=on
    dtoverlay=vc4_fkms_v3d,cma-256
  '';
};

boot.loader.generic-extlinux-compatible.enable = true;

system.stateVersion = "21.11";

Question:

  1. Does it affect other Raspberry Pi 4 users (when upgrading past PR nixos: turn vmWithBootLoader into option (nixos-rebuild build-vm) #151082)?

@roberth @ncfavier @samueldr

Metadata

Metadata

Assignees

No one assigned

    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