Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
b-m-f opened this issue Oct 5, 2023 · 1 comment
Open

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

b-m-f opened this issue Oct 5, 2023 · 1 comment

Comments

@b-m-f
Copy link

b-m-f commented Oct 5, 2023

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)

then flake.nixosConfigurations.${name}.config

@b-m-f
Copy link
Author

b-m-f commented Oct 5, 2023

I have tried #149, which makes it work as expected for me.

This is the config

    dev-microvm = {
      flake = "git+https://my-git/b-m-f/dev-microvm";
      # Specify from where to let `microvm -u` update later on
      updateFlake = "git+https://my-git/b-m-f/dev-microvm";
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant