Skip to content

Flake option is a path but expects a set later on #148

Description

@b-m-f

The flake option is expected to be a path, but when passing a path I get the following error:

error: value is a path while a set was expected

       at /nix/store/wjwcshj9w20wdfpn4z1dc1sg8h539ix5-source/nixos-modules/host.nix:177:28:

          176|         guestConfig = if isFlake
          177|                       then flake.nixosConfigurations.${name}.config
             |                            ^
          178|                       else microvmConfig.config.config;
(use '--show-trace' to show detailed location information)

https://github.com/astro/microvm.nix/blob/abd63123e2b2dbc34d1ac38a73578b27ec9ef342/nixos-modules/host.nix#L177

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions