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

build-vm fails #39

Closed
jalbstmeijer opened this issue Apr 8, 2024 · 0 comments
Closed

build-vm fails #39

jalbstmeijer opened this issue Apr 8, 2024 · 0 comments

Comments

@jalbstmeijer
Copy link

Hi,

Wanted to play around with your configs in a vm to learn from them.
But it get build errors trying, am I missing something?

# nixos-rebuild build-vm --flake '.#'
building the system configuration...
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'nixos-vm'
         whose name attribute is located at /nix/store/cb1gs888vfqxawvc65q1dk6jzbayh3wz-source/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'buildCommand' of derivation 'nixos-vm'

         at /nix/store/cb1gs888vfqxawvc65q1dk6jzbayh3wz-source/pkgs/build-support/trivial-builders/default.nix:68:16:

           67|         enableParallelBuilding = true;
           68|         inherit buildCommand name;
             |                ^
           69|         passAsFile = [ "buildCommand" ]

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: attempt to call something which is not a function but a set

       at /nix/store/4k7qs5lmijldgris651af5sis8pv56ck-source/modules/filesystem/encryption.nix:107:39:

          106|       availableKernelModules = mkIf cfg.ssh.enable cfg.ssh.networkModule;
          107|       luks.forceLuksSupportInInitrd = mkIf cfg.ssh.enable mkForce true;
             |                                       ^
          108|       luks.devices = {
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