Skip to content

nixos-generate-config: misplaced double quotes in boot.extraModulePackages #3560

Closed

Description

@alexeymuranov

I am trying to install NixOS on MacBook 5,1. The hardware-configuration.nix file generated with nixos-generate-config contained this line:

boot.extraModulePackages = [ "config.boot.kernelPackages.broadcom-sta" ];

nixos-install failed with the message

The option value boot.extraModulePackages' in/etc/nixos/hardware-configuration.nix' is not a list of paths.

The error went away after i had removed the double quotes.

Activity

  1. vcunat commented on Aug 14, 2014

    @vcunat
    Member

    Yes. It's a known bug in the generator perl script. I would have already fixed it, as it's probably simple, but I never did anything with Perl.

  2. domenkozar commented on Dec 28, 2014

    @domenkozar
    Member
  3. added a commit that references this issue on Apr 5, 2015
  4. added a commit that references this issue on Apr 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: nixos

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions